diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 2b77a3ec09..02335d309a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,11 +37,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6 + uses: github/codeql-action/init@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -52,7 +52,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6 + uses: github/codeql-action/autobuild@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -66,4 +66,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6 + uses: github/codeql-action/analyze@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9 diff --git a/.github/workflows/ion-java-performance-regression-detector.yml b/.github/workflows/ion-java-performance-regression-detector.yml index 9608fa3491..41b242b974 100644 --- a/.github/workflows/ion-java-performance-regression-detector.yml +++ b/.github/workflows/ion-java-performance-regression-detector.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout ion-data-generator - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: repository: amazon-ion/ion-data-generator ref: main @@ -58,27 +58,27 @@ jobs: steps: - name: Set up JDK 11 - uses: actions/setup-java@v4.1.0 + uses: actions/setup-java@v4.2.1 with: distribution: 'corretto' java-version: 11 - name: Checkout ion-java-benchmark-cli - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: repository: amazon-ion/ion-java-benchmark-cli ref: master path: ion-java-benchmark-cli - name: Checkout ion-java from the previous commit - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: ref: ${{ github.base_ref }} submodules: recursive path: baseline - name: Checkout ion-java from the new commit. - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.head_ref }} diff --git a/.github/workflows/ion-test-driver.yml b/.github/workflows/ion-test-driver.yml index f2a3ece17f..3c457d7c2b 100644 --- a/.github/workflows/ion-test-driver.yml +++ b/.github/workflows/ion-test-driver.yml @@ -13,14 +13,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout ion-java - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # master + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # master with: repository: amazon-ion/ion-java ref: master path: ion-java - name: Checkout ion-test-driver - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # master + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # master with: repository: amazon-ion/ion-test-driver ref: master @@ -80,7 +80,7 @@ jobs: needs: ion-test-driver if: ${{ failure() }} steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # master + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # master - name: Open an issue uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 # v2.9.2 env: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2665f2b6ab..2e319ac944 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,12 +20,12 @@ jobs: - java: 17 fail-fast: false steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: submodules: recursive - - uses: gradle/wrapper-validation-action@699bb18358f12c5b78b37bb0111d3a0e2276e0e2 # v2.1.1 + - uses: gradle/wrapper-validation-action@b231772637bb498f11fdbc86052b6e8a8dc9fc92 # v2.1.2 - name: Use java ${{ matrix.java }} - uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4.1.0 + uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 with: distribution: 'corretto' java-version: ${{ matrix.java }} @@ -53,7 +53,7 @@ jobs: # https://github.com/amazon-ion/ion-java/blob/master/.github/actions/inspect-version/action.yml runs-on: ubuntu-latest steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3.6.0 - name: Get Project Version run: | echo "PROJECT_VERSION=v$(> $GITHUB_ENV diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 49669c486e..cce1d2c5ca 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -44,7 +44,7 @@ jobs: outputs: should_create_draft: ${{ steps.inspect.outputs.is_valid_to_release }} steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3.6.0 - name: Get project version run: | echo "PROJECT_VERSION=$(> $GITHUB_ENV @@ -65,7 +65,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3.6.0 - name: Create a draft release shell: bash env: diff --git a/.github/workflows/publish-release-artifacts.yml b/.github/workflows/publish-release-artifacts.yml index a1f08dd7d3..737c0d20c4 100644 --- a/.github/workflows/publish-release-artifacts.yml +++ b/.github/workflows/publish-release-artifacts.yml @@ -29,7 +29,7 @@ jobs: # First, a sanity check to ensure that the library version matches the release version runs-on: ubuntu-latest steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3.6.0 - name: Validate project version matches tag shell: bash run: | @@ -48,7 +48,7 @@ jobs: steps: # TODO: replace with artifact upload/download -- make sure there's no race condition with other builds also # uploading an artifact. - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3.6.0 with: submodules: recursive - uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index ff7e79a330..894181fb48 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -32,7 +32,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.1.0 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3.1.0 with: persist-credentials: false @@ -67,6 +67,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6 + uses: github/codeql-action/upload-sarif@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9 with: sarif_file: results.sarif diff --git a/.github/workflows/test-inspect-version-action.yml b/.github/workflows/test-inspect-version-action.yml index 2eb8532430..ec1e7c0550 100644 --- a/.github/workflows/test-inspect-version-action.yml +++ b/.github/workflows/test-inspect-version-action.yml @@ -53,7 +53,7 @@ jobs: expected: action_failure steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3.6.0 - name: Invoke Action id: inspect continue-on-error: ${{ matrix.expected == 'action_failure' }}