diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index c3940c0c..e1f0ae6d 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -38,7 +38,7 @@ jobs: with: persist-credentials: false - name: Set up Hatch - uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install + uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60 # install - name: Run CLI tests run: | sudo apt update diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 11ccc107..bddacb66 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -54,7 +54,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7 + uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -68,7 +68,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7 + uses: github/codeql-action/autobuild@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8 # â„šī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -81,6 +81,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7 + uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/cross_os.yml b/.github/workflows/cross_os.yml index ca80a19a..7a413911 100644 --- a/.github/workflows/cross_os.yml +++ b/.github/workflows/cross_os.yml @@ -73,7 +73,7 @@ jobs: name: model.zip path: model_root/ - name: Set up Hatch - uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install + uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60 # install - name: Fetch OIDC token run: | SIGSTORE_ID_TOKEN=$(curl -sSfL https://storage.googleapis.com/sigstore-conformance-testing-token/untrusted-testing-token.txt) @@ -111,7 +111,7 @@ jobs: with: name: ${{ matrix.signed-with-os }}-model.sig - name: Set up Hatch - uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install + uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60 # install - name: Verify the model run: | hatch run python -m model_signing verify sigstore model_root/ --use_staging --signature model.sig \ diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 864892a6..cceb53dd 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -34,7 +34,7 @@ jobs: with: persist-credentials: false - name: Set up Hatch - uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install + uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60 # install - name: build docs run: hatch run docs:build - name: upload docs artifact diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index e705094e..09e753a3 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -44,7 +44,7 @@ jobs: with: persist-credentials: false - name: Set up Hatch - uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install + uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60 # install - name: Run integration tests run: | set -euxo pipefail diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 903a6204..79ece967 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -78,7 +78,7 @@ jobs: with: persist-credentials: false - name: Set up Hatch - uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install + uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60 # install - name: Register pytype problem matcher run: echo "::add-matcher::$GITHUB_WORKSPACE/.github/pytype-problem-matcher.json" - name: Run type check @@ -95,7 +95,7 @@ jobs: with: persist-credentials: false - name: Set up Hatch - uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install + uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60 # install - name: Run python linting run: hatch fmt --check env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d64854c0..e42e0fe8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: with: persist-credentials: false - name: Set up Hatch - uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install + uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60 # install - name: Build artifacts run: hatch build - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 42eddb33..0472fc24 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -82,6 +82,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7 + uses: github/codeql-action/upload-sarif@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8 with: sarif_file: results.sarif diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index a9464c5e..22adbcc7 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -40,7 +40,7 @@ jobs: with: persist-credentials: false - name: Set up Hatch - uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install + uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60 # install - name: Run unit tests (with coverage report at the end) run: | set -euxo pipefail