-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added repository updates to move to GlobalPackageReferences, as well … (
#1372) * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies * normalizing nuke dependencies
- Loading branch information
1 parent
caecf9a
commit fb42ae0
Showing
30 changed files
with
200 additions
and
951 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,19 +118,19 @@ jobs: | |
- name: 🎁 Restore | ||
id: restore | ||
run: | | ||
dotnet nuke Restore --skip | ||
dotnet nuke DotnetCoreRestore Restore --skip | ||
- name: ⚙️ Build | ||
id: build | ||
run: | | ||
dotnet nuke Build --skip | ||
dotnet nuke DotnetCoreBuild Build --skip | ||
- name: 🚦 Test | ||
id: test | ||
run: | | ||
dotnet nuke Test TriggerCodeCoverageReports GenerateCodeCoverageReportCobertura GenerateCodeCoverageBadges GenerateCodeCoverageSummary GenerateCodeCoverageReport --skip | ||
dotnet nuke DotnetCoreTest Test TriggerCodeCoverageReports GenerateCodeCoverageReportCobertura GenerateCodeCoverageBadges GenerateCodeCoverageSummary GenerateCodeCoverageReport --skip | ||
- name: 📦 Pack | ||
id: pack | ||
run: | | ||
dotnet nuke Pack --skip | ||
dotnet nuke DotnetCorePack Pack --skip | ||
- name: 🏺 Publish coverage data | ||
if: always() | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,9 +56,6 @@ jobs: | |
id: commit-message | ||
run: | | ||
echo "message=$(git show -s --format=%s)" >> "$GITHUB_OUTPUT" | ||
- name: npm ci | ||
run: | | ||
npm ci --ignore-scripts | ||
- name: 🔨 Use .NET Core 6.0 SDK | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
|
@@ -74,18 +71,54 @@ jobs: | |
- name: ⚒️ dotnet tool restore | ||
run: | | ||
dotnet tool restore | ||
- name: 🎁 Restore | ||
id: restore | ||
run: | | ||
dotnet nuke DotnetCoreRestore Restore --skip | ||
- name: Lint | ||
id: lint | ||
run: | | ||
dotnet nuke Lint --skip | ||
- name: Regenerate Build Configurations | ||
id: regenerateBuildConfigurations | ||
run: | | ||
dotnet nuke RegenerateBuildConfigurations --skip | ||
- name: Lint Staged | ||
id: lintStaged | ||
- name: Lint Public Api Analyzers | ||
id: lintPublicApiAnalyzers | ||
run: | | ||
dotnet nuke LintPublicApiAnalyzers --skip | ||
- name: Prettier | ||
id: prettier | ||
run: | | ||
dotnet nuke Prettier --skip | ||
- name: Dotnet Format | ||
id: dotnetFormat | ||
run: | | ||
dotnet nuke DotnetFormat --skip | ||
- name: Jet Brains Cleanup Code | ||
id: jetBrainsCleanupCode | ||
run: | | ||
dotnet nuke JetBrainsCleanupCode --skip | ||
- name: Generate Solution Items | ||
id: generateSolutionItems | ||
run: | | ||
dotnet nuke GenerateSolutionItems --skip | ||
- name: Generate Readme | ||
id: generateReadme | ||
run: | | ||
dotnet nuke GenerateReadme --skip | ||
- name: Move Unshipped to Shipped | ||
id: moveUnshippedToShipped | ||
run: | | ||
dotnet nuke MoveUnshippedToShipped --skip | ||
- name: Lint Git Add | ||
id: lintGitAdd | ||
run: | | ||
dotnet nuke LintStaged --skip | ||
dotnet nuke LintGitAdd --skip | ||
- name: Add & Commit | ||
env: | ||
GITHUB_TOKEN: '${{ secrets.RSG_BOT_TOKEN }}' | ||
if: "'${{ steps.commit-message.outputs.message }}' == 'Automatically linting code'" | ||
if: "contains('${{ steps.commit-message.outputs.message }}', 'Automatically linting code')" | ||
uses: planetscale/[email protected] | ||
with: | ||
commit_message: 'Automatically linting code' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
output=$(git diff --cached --name-only | wc -l) | ||
if [ $output -gt 0 ]; then | ||
dotnet nuke lint-staged | ||
fi | ||
|
||
dotnet nuke lint | ||
dotnet husky run --group pre-commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"$schema": "https://alirezanet.github.io/Husky.Net/schema.json", | ||
"variables": [], | ||
"tasks": [] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.