diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 4f11add8..cd5459f8 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -37,7 +37,7 @@ jobs: loo-ego-id: ${{ steps.loo-ego.outputs.ec2-instance-id }} steps: - name: Configure AWS - uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 + uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -126,7 +126,7 @@ jobs: DIFFCTX_SCORING: precise BENCH_INSTANCES: ${{ inputs.instances }} BENCH_BUDGET: ${{ inputs.budget }} - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: always() with: name: cb-ppr @@ -155,7 +155,7 @@ jobs: DIFFCTX_SCORING: discover BENCH_INSTANCES: ${{ inputs.instances }} BENCH_BUDGET: ${{ inputs.budget }} - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: always() with: name: cb-ego @@ -185,7 +185,7 @@ jobs: env: BENCH_INSTANCES: ${{ inputs.instances }} BENCH_BUDGET: ${{ inputs.budget }} - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: always() with: name: loo-ppr @@ -216,7 +216,7 @@ jobs: DIFFCTX_SCORING: discover BENCH_INSTANCES: ${{ inputs.instances }} BENCH_BUDGET: ${{ inputs.budget }} - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: always() with: name: loo-ego @@ -229,7 +229,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Configure AWS - uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 + uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -290,7 +290,7 @@ jobs: - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 with: python-version: '3.12' - - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: path: results/ merge-multiple: true diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 9e7488eb..428b2088 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -143,7 +143,7 @@ jobs: git bundle create repo.bundle --all - name: Upload bundle as artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: git-repo-bundle path: repo.bundle @@ -176,7 +176,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Download git bundle - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v8.0.1 with: name: git-repo-bundle @@ -274,7 +274,7 @@ jobs: fi - name: Upload artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: ${{ matrix.asset_name }}-binary path: ./repo/dist/treemapper-* @@ -292,7 +292,7 @@ jobs: id-token: write steps: - name: Download git bundle - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v8.0.1 with: name: git-repo-bundle @@ -351,7 +351,7 @@ jobs: ls dist/*"${VERSION}"* || echo "WARNING: No packages found!" - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1 + uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1 with: packages-dir: ./repo/dist/ print-hash: true @@ -369,7 +369,7 @@ jobs: contents: write steps: - name: Download git bundle - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v8.0.1 with: name: git-repo-bundle @@ -422,12 +422,12 @@ jobs: echo "Successfully pushed version commit and tag" - name: Download all build artifacts - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v8.0.1 with: path: ./artifacts - name: Create GitHub Release with assets - uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2 + uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v2 with: tag_name: ${{ needs.prepare-version.outputs.tag_name }} name: Release ${{ needs.prepare-version.outputs.version }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4145a743..3725759b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,7 +126,7 @@ jobs: verbose: true - name: Upload coverage for SonarCloud - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' with: name: coverage-report