diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 754324fd..40091dbc 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -64,11 +64,11 @@ jobs: # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages steps: - name: Checkout repository - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Setup Java 17 for building the Maven project - name: Setup Java - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0 + uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 if: matrix.language == 'java-kotlin' with: distribution: 'temurin' @@ -77,7 +77,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@02c5e83432fe5497fd85b873b6c9f16a8578e1d9 # v3.37.0 + uses: github/codeql-action/init@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} @@ -105,6 +105,6 @@ jobs: exit 1 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@02c5e83432fe5497fd85b873b6c9f16a8578e1d9 # v3.37.0 + uses: github/codeql-action/analyze@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index cd8823d0..9f9380bc 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -34,9 +34,9 @@ jobs: timeout-minutes: 10 steps: - name: 'Checkout repository' - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: 'Dependency Review' - uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0 + uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0 # Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options. with: comment-summary-in-pr: always diff --git a/.github/workflows/fork-coverage.yml b/.github/workflows/fork-coverage.yml index f396d968..9c4b0e8e 100644 --- a/.github/workflows/fork-coverage.yml +++ b/.github/workflows/fork-coverage.yml @@ -29,7 +29,7 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} steps: - name: Download coverage payload from CI run - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: codecov-payload path: codecov-payload @@ -57,7 +57,7 @@ jobs: - name: Publish fork PR test execution results to Codecov if: env.CODECOV_TOKEN != '' - uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1 + uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1 with: token: ${{ secrets.CODECOV_TOKEN }} files: codecov-payload/surefire/*.xml,codecov-payload/failsafe/*.xml @@ -69,7 +69,7 @@ jobs: - name: Publish fork PR test coverage to Codecov if: env.CODECOV_TOKEN != '' && github.event.workflow_run.conclusion == 'success' - uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7 + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 with: token: ${{ secrets.CODECOV_TOKEN }} files: codecov-payload/jacoco.xml diff --git a/.github/workflows/fork-sonar.yml b/.github/workflows/fork-sonar.yml index f757db2b..45f977b4 100644 --- a/.github/workflows/fork-sonar.yml +++ b/.github/workflows/fork-sonar.yml @@ -38,7 +38,7 @@ jobs: - name: Download successful fork PR analysis inputs # Store outside the workspace so the later source checkout (which cleans # the workspace) does not remove these files. - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: sonar-analysis-inputs path: ${{ runner.temp }}/sonar-analysis-data @@ -65,7 +65,7 @@ jobs: } >> "$GITHUB_OUTPUT" - name: Check out fork PR source (from the base repo's PR ref) - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: # The fork head SHA is not present in the base repo, but the PR head # ref is. Check that out so Sonar can read the analysed source. @@ -73,14 +73,14 @@ jobs: fetch-depth: 0 - name: Set up JDK 17 - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0 + uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 with: java-version: '17' distribution: 'zulu' cache: maven - name: Cache SonarCloud packages - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/maven-central-release.yml b/.github/workflows/maven-central-release.yml index 17a1ffd8..d172b215 100644 --- a/.github/workflows/maven-central-release.yml +++ b/.github/workflows/maven-central-release.yml @@ -32,12 +32,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - name: Set up JDK 17 - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0 + uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 with: java-version: '17' distribution: 'zulu' diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9082f640..00ef8cf9 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -39,19 +39,19 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 # Shallow clones should be disabled for better SonarCloud analysis - name: Set up JDK 17 - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0 + uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 with: java-version: '17' distribution: 'zulu' cache: maven - name: Cache SonarCloud packages - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.sonar/cache # Content-addressed so the cache rotates when project config changes, @@ -60,7 +60,7 @@ jobs: restore-keys: ${{ runner.os }}-sonar- - name: Cache Maven packages - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} @@ -114,7 +114,7 @@ jobs: - name: Upload Sonar analysis inputs (fork PRs) if: always() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: sonar-analysis-inputs path: sonar-analysis-data/ @@ -130,7 +130,7 @@ jobs: - name: Upload JaCoCo HTML report (processor) if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: jacoco-report-html-processor path: processor/target/site/jacoco/ @@ -138,7 +138,7 @@ jobs: - name: Upload JaCoCo XML report (processor) if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: jacoco-report-xml-processor path: processor/target/site/jacoco/jacoco.xml @@ -170,7 +170,7 @@ jobs: - name: Upload Codecov payload artifact (fork PRs) if: always() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: codecov-payload path: codecov-payload/ @@ -179,7 +179,7 @@ jobs: - name: Upload test results to Codecov (processor) # Skip when CODECOV_TOKEN is unavailable (fork PRs) and for any bot-authored PR. if: always() && env.CODECOV_TOKEN != '' && github.event.pull_request.user.type != 'Bot' - uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1 + uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1 with: token: ${{ secrets.CODECOV_TOKEN }} files: | @@ -191,7 +191,7 @@ jobs: - name: Upload coverage to Codecov (processor) # Skip when CODECOV_TOKEN is unavailable (fork PRs) and for any bot-authored PR. if: always() && env.CODECOV_TOKEN != '' && github.event.pull_request.user.type != 'Bot' - uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7 + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 with: fail_ci_if_error: true files: processor/target/site/jacoco/jacoco.xml