diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..4db7e76 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + # Workflow files stored in the default location of `.github/workflows`. (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.) + directory: "/" + schedule: + interval: "weekly" + + # Maintain dependencies for Nuget + - package-ecosystem: "nuget" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..688aebb --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,23 @@ +name: ".NET" +on: + push: + branches: + - "main" + pull_request: + branches: + - "main" + +jobs: + build: + runs-on: "ubuntu-22.04" + steps: + - uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '8.0.x' + dotnet-quality: 'preview' + - name: Install dependencies + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore diff --git a/README.md b/README.md index 843bc1b..3458e78 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ -# RateLimit +# Rate Limit + Rate Limit + +## Blog + +Part of this [blog](https://dev.to/berviantoleo/exploring-rate-limit-web-api-in-net-8-27bd) diff --git a/RateLimitDotNet/RateLimitDotNet.csproj b/RateLimitDotNet/RateLimitDotNet.csproj index 4a2282e..7a4fe4e 100644 --- a/RateLimitDotNet/RateLimitDotNet.csproj +++ b/RateLimitDotNet/RateLimitDotNet.csproj @@ -8,10 +8,10 @@ - + - - + +