Skip to content

Commit

Permalink
feat: add dependabot (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
berviantoleo authored Nov 30, 2023
1 parent 074b514 commit ab72e89
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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"
23 changes: 23 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -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
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
6 changes: 3 additions & 3 deletions RateLimitDotNet/RateLimitDotNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.0-preview.5.23302.2" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.RateLimiting" Version="7.0.0-rc.2.22476.2" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
<PackageReference Include="System.Threading.RateLimiting" Version="7.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="System.Threading.RateLimiting" Version="8.0.0" />
</ItemGroup>

</Project>

0 comments on commit ab72e89

Please sign in to comment.