Skip to content

Commit

Permalink
Merge pull request #24 from IowaComputerGurus/feature/ci-build
Browse files Browse the repository at this point in the history
Updated all CI Dependencies
  • Loading branch information
mitchelsellers authored Nov 12, 2022
2 parents 4b57048 + a330500 commit 4369546
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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
Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 4369546

Please sign in to comment.