Skip to content

Commit

Permalink
Automatically linting code
Browse files Browse the repository at this point in the history
  • Loading branch information
rsg-bot authored and renovate[bot] committed May 1, 2024
1 parent 4f9d16d commit 6019d4a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,17 @@ jobs:
uses: actions/[email protected]
with:
dotnet-version: '8.0.x'
- name: 🎁 dotnet tool restore
- name: 🚒 dotnet workload restore
run: |
dotnet workload restore
- name: ⚒️ dotnet tool restore
run: |
dotnet tool restore
- name: 🎁 Restore
id: restore
run: |
dotnet nuke Restore --skip
- name: ⚙ Build
- name: Build
id: build
run: |
dotnet nuke Build --skip
Expand All @@ -133,7 +136,7 @@ jobs:
with:
name: 'coverage'
path: 'coverage/'
- name: 🐿 Publish Coverage
- name: 📫 Publish Coverage
if: (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') || ((github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'dependabot[bot]')
uses: codecov/[email protected]
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: 🎁 dotnet tool restore
- name: 🚒 dotnet workload restore
run: |
dotnet workload restore
- name: ⚒️ dotnet tool restore
run: |
dotnet tool restore
- name: Regenerate Build Configurations
Expand Down
2 changes: 2 additions & 0 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
"Default",
"DotNetFormat",
"DotnetToolRestore",
"DotnetWorkloadRestore",
"GenerateCodeCoverageBadges",
"GenerateCodeCoverageReport",
"GenerateCodeCoverageReportCobertura",
Expand Down Expand Up @@ -132,6 +133,7 @@
"Default",
"DotNetFormat",
"DotnetToolRestore",
"DotnetWorkloadRestore",
"GenerateCodeCoverageBadges",
"GenerateCodeCoverageReport",
"GenerateCodeCoverageReportCobertura",
Expand Down

0 comments on commit 6019d4a

Please sign in to comment.