File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 run : cp -rL result/* .
4646
4747 - name : Upload kernel artifacts
48- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
48+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
4949 with :
5050 name : built-kernels-${{ matrix.arch }}
5151 path : |
6868 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6969
7070 - name : Download kernel artifacts
71- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
71+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
7272 with :
7373 name : built-kernels-x86_64-linux
7474 path : .
Original file line number Diff line number Diff line change 1919 run : sudo xcrun xcode-select -s /Applications/Xcode_26.0.app
2020 - name : " Install Metal Toolchain"
2121 run : xcodebuild -downloadComponent metalToolchain
22- - uses : actions/checkout@v6
23- - uses : cachix/install-nix-action@v31
22+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23+ - uses : cachix/install-nix-action@616559265b40713947b9c190a8ff4b507b5df49b # v31.10.4
2424 - uses : cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c # v17
2525 with :
2626 name : huggingface
Original file line number Diff line number Diff line change 1616 runs-on :
1717 group : aws-highmemory-32-plus-nix
1818 steps :
19- - uses : actions/checkout@v6
19+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020 - uses : DeterminateSystems/nix-installer-action@ef8a148080ab6020fd15196c2084a2eea5ff2d25
2121 with :
2222 extra-conf : |
Original file line number Diff line number Diff line change @@ -26,26 +26,26 @@ jobs:
2626 runs-on : ${{ matrix.os }}
2727
2828 steps :
29- - uses : actions/cache@v5
29+ - uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3030 with :
3131 key : cuda-toolkit-v${{ matrix.cuda }}-${{ matrix.os }}
3232 path : |
3333 C:\Program Files\NVIDIA GPU Computing Toolkit
3434 ~/.cargo/registry
3535 ~/.cargo/git
3636
37- - uses : actions/checkout@v6
37+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3838
3939 # CUDA environment setup
40- - uses : huggingface/cuda-toolkit@v0.1.0
40+ - uses : huggingface/cuda-toolkit@714c97b32958862237b96401fb253a4261453c3b # v0.1.0
4141 id : setup-cuda-toolkit
4242 with :
4343 cuda : ${{ matrix.torch.cuda }} # TODO(mfuntowicz): How can we test multiple CUDA versions than align with torch?
4444 - name : " NVCC checks"
4545 run : nvcc -V
4646
4747 # Rust build environment setup
48- - uses : actions-rs/toolchain@v1
48+ - uses : actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
4949 with :
5050 toolchain : stable
5151 profile : minimal
5555 run : ( cd kernel-builder && cargo build --release )
5656
5757 # Python environment setup
58- - uses : actions/setup-python@v6
58+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5959 with :
6060 python-version : ${{ matrix.python }}
6161 cache : ' pip'
Original file line number Diff line number Diff line change 1616 runs-on :
1717 group : aws-highmemory-32-plus-nix
1818 steps :
19- - uses : actions/checkout@v6
19+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020 - uses : DeterminateSystems/nix-installer-action@ef8a148080ab6020fd15196c2084a2eea5ff2d25
2121 with :
2222 extra-conf : |
Original file line number Diff line number Diff line change 1515 name : Check build variants
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v6
19- - uses : cachix/install-nix-action@v31
18+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+ - uses : cachix/install-nix-action@616559265b40713947b9c190a8ff4b507b5df49b # v31.10.4
2020 with :
2121 nix_path : nixpkgs=channel:nixos-unstable
2222 - name : Generate variants JSON
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ jobs:
1212 steps :
1313 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1414 - name : Run ruff check
15- uses : astral-sh/ruff-action@4919ec5cf1f49eff0871dbcea0da843445b837e6 # v3
15+ uses : astral-sh/ruff-action@4919ec5cf1f49eff0871dbcea0da843445b837e6 # v3.6.1
1616 with :
1717 src : kernels
1818 version : ${{ env.RUFF_VERSION }}
1919 - name : Run ruff format check
20- uses : astral-sh/ruff-action@4919ec5cf1f49eff0871dbcea0da843445b837e6 # v3
20+ uses : astral-sh/ruff-action@4919ec5cf1f49eff0871dbcea0da843445b837e6 # v3.6.1
2121 with :
2222 src : kernels
2323 version : ${{ env.RUFF_VERSION }}
3333 with :
3434 fetch-depth : 0
3535 - name : Install uv and set the python version
36- uses : astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
36+ uses : astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
3737 with :
3838 python-version : " 3.12"
3939 - name : Check for breaking changes
Original file line number Diff line number Diff line change 1313 runs-on :
1414 group : aws-highmemory-32-plus-nix
1515 steps :
16- - uses : actions/checkout@v6
16+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717 - uses : DeterminateSystems/nix-installer-action@ef8a148080ab6020fd15196c2084a2eea5ff2d25
1818 with :
1919 extra-conf : |
Original file line number Diff line number Diff line change 1212 with :
1313 persist-credentials : false
1414 - name : Set up Python
15- uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
15+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1616 with :
1717 python-version : " 3.9"
1818 - name : Install pypa/build
2424 - name : Build a binary wheel and a source tarball
2525 run : ( cd kernels && python3 -m build )
2626 - name : Store the distribution packages
27- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
27+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
2828 with :
2929 name : python-package-distributions
3030 path : kernels/dist/
4444
4545 steps :
4646 - name : Download all the dists
47- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
47+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
4848 with :
4949 name : python-package-distributions
5050 path : dist/
6565
6666 steps :
6767 - name : Download all the dists
68- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
68+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
6969 with :
7070 name : python-package-distributions
7171 path : dist/
@@ -109,7 +109,7 @@ jobs:
109109
110110 steps :
111111 - name : Download all the dists
112- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
112+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
113113 with :
114114 name : python-package-distributions
115115 path : dist/
Original file line number Diff line number Diff line change 77 name : Rustfmt
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v6
11- - uses : dtolnay/rust-toolchain@stable
10+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
11+ - uses : dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
1212 with :
1313 components : rustfmt
1414 - name : Cargo fmt (kernel-abi-check)
2626 name : Clippy
2727 runs-on : ubuntu-latest
2828 steps :
29- - uses : actions/checkout@v6
30- - uses : actions/cache@v5
29+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
30+ - uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3131 with :
3232 path : |
3333 ~/.cargo/bin/
3636 ~/.cargo/git/db/
3737 target/
3838 key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
39- - uses : dtolnay/rust-toolchain@stable
39+ - uses : dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
4040 with :
4141 components : clippy
4242 - name : Clippy (kernel-abi-check)
You can’t perform that action at this time.
0 commit comments