From a33050091c77e8c8ae7f0f30f71d80a5eb172100 Mon Sep 17 00:00:00 2001 From: Mitchel Sellers Date: Sat, 12 Nov 2022 02:08:14 -0600 Subject: [PATCH] Updated all CI Dependencies --- .github/workflows/ci-build.yml | 20 +++++++++++--------- .github/workflows/release-build.yml | 6 +++--- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index aa3fa3e..bf8ec23 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -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/execute@v0.9.7 + uses: gittools/actions/gitversion/execute@v0.9.15 with: useConfigFile: true @@ -40,22 +40,24 @@ 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 @@ -63,7 +65,7 @@ jobs: - 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/execute@v0.9.7 + uses: gittools/actions/gitversion/execute@v0.9.15 with: useConfigFile: true diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index eec9ffc..f4a95a8 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -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/execute@v0.9.7 + uses: gittools/actions/gitversion/execute@v0.9.15 with: useConfigFile: true