diff --git a/.github/workflows/_build-dmg.yml b/.github/workflows/_build-dmg.yml index ec65a9ba..713fe5bf 100644 --- a/.github/workflows/_build-dmg.yml +++ b/.github/workflows/_build-dmg.yml @@ -43,13 +43,13 @@ jobs: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 with: go-version-file: go.mod cache: false - name: Setup Python - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.13" @@ -75,7 +75,7 @@ jobs: uses: ./.github/actions/extract-tokenizers-version - name: Cache LFS objects - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 with: path: .git/lfs key: lfs-${{ runner.os }}-${{ hashFiles('.gitattributes') }} @@ -83,13 +83,13 @@ jobs: lfs-${{ runner.os }}- - name: Cache tokenizers library - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 with: path: build/tokenizers/libtokenizers.a key: ${{ runner.os }}-tokenizers-v${{ steps.deps.outputs.version }}-prebuilt-v1 - name: Cache ONNX Runtime library - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 with: path: build/libonnxruntime.*.dylib key: ${{ runner.os }}-onnx-1.24.2 diff --git a/.github/workflows/_build-linux.yml b/.github/workflows/_build-linux.yml index 39ce47ba..ca3befd7 100644 --- a/.github/workflows/_build-linux.yml +++ b/.github/workflows/_build-linux.yml @@ -52,7 +52,7 @@ jobs: git config --global --get-all safe.directory - name: Setup Go - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 with: go-version-file: go.mod @@ -62,7 +62,7 @@ jobs: toolchain: stable - name: Cache LFS objects - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 with: path: .git/lfs key: lfs-${{ runner.os }}-almalinux9-${{ hashFiles('.gitattributes') }} @@ -74,7 +74,7 @@ jobs: uses: ./.github/actions/extract-tokenizers-version - name: Cache Go modules - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 with: path: | ~/go/pkg/mod @@ -84,13 +84,13 @@ jobs: ${{ runner.os }}-almalinux9-go- - name: Cache tokenizers library - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 with: path: build/tokenizers/libtokenizers.a key: ${{ runner.os }}-almalinux9-tokenizers-v${{ steps.deps.outputs.version }}-prebuilt-v1 - name: Cache ONNX Runtime library - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 with: path: | build/libonnxruntime.so.1.24.2 diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index ea4e7e2f..1c701d5d 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Set up Python - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.13" @@ -43,12 +43,12 @@ jobs: uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Set up Go - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 with: go-version-file: go.mod - name: golangci-lint - uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 + uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 with: version-file: .tool-versions @@ -62,13 +62,13 @@ jobs: uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Set up Go - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 with: go-version-file: go.mod - name: Cache tokenizers library id: cache-tokenizers - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 with: path: build/tokenizers/libtokenizers.a key: ${{ runner.os }}-tokenizers-v1.26.0-prebuilt-v1