-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from IowaComputerGurus/feature/ci-build
Updated all CI Dependencies
- Loading branch information
Showing
2 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -14,12 +14,12 @@ jobs: | |
env: | ||
solution-path: './src/AspNetCore FontAwesome Tag Helpers.sln' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Ensure .NET Installed | ||
uses: actions/setup-dotnet@v1 | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
|
@@ -28,7 +28,7 @@ jobs: | |
|
||
- name: Determine Version | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected].7 | ||
uses: gittools/actions/gitversion/[email protected].15 | ||
with: | ||
useConfigFile: true | ||
|
||
|
@@ -40,30 +40,32 @@ jobs: | |
run: dotnet test "${{ env.solution-path }}" --no-build --configuration Release | ||
|
||
code-quality: | ||
if: github.actor != 'dependabot[bot]' | ||
runs-on: windows-latest | ||
name: Analyze Code Quality | ||
env: | ||
solution-path: './src/AspNetCore FontAwesome Tag Helpers.sln' | ||
steps: | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 1.11 | ||
java-version: 11 | ||
distribution: zulu | ||
|
||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | ||
|
||
- name: Cache SonarCloud packages | ||
uses: actions/cache@v1 | ||
uses: actions/cache@v3.0.11 | ||
with: | ||
path: ~\sonar\cache | ||
key: ${{ runner.os }}-sonar | ||
restore-keys: ${{ runner.os }}-sonar | ||
|
||
- name: Cache SonarCloud scanner | ||
id: cache-sonar-scanner | ||
uses: actions/cache@v1 | ||
uses: actions/cache@v3.0.11 | ||
with: | ||
path: .\.sonar\scanner | ||
key: ${{ runner.os }}-sonar-scanner | ||
|
@@ -81,7 +83,7 @@ jobs: | |
|
||
- name: Determine Version | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected].7 | ||
uses: gittools/actions/gitversion/[email protected].15 | ||
with: | ||
useConfigFile: true | ||
|
||
|
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 |
---|---|---|
|
@@ -15,12 +15,12 @@ jobs: | |
repository: 'aspnetcore.utilities.fontawesometaghelpers' | ||
organization: 'IowaComputerGurus' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Ensure .NET Installed | ||
uses: actions/setup-dotnet@v1 | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
|
@@ -29,7 +29,7 @@ jobs: | |
|
||
- name: Determine Version | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected].7 | ||
uses: gittools/actions/gitversion/[email protected].15 | ||
with: | ||
useConfigFile: true | ||
|
||
|