1616 RUSTC_WRAPPER : sccache
1717 IN_CI : " true"
1818
19+ permissions : {}
20+
1921jobs :
2022 build :
2123 runs-on : ubuntu-latest
2224 steps :
2325 - name : Check out repo and build scripts
24- uses : actions/checkout@v4
26+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2527 with :
2628 submodules : recursive
29+ persist-credentials : false
2730 - name : Run sccache
28- uses : mozilla-actions/sccache-action@v0.0.7
31+ uses : mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
2932 - name : Build
3033 run : make build
3134
3235 lint :
3336 runs-on : ubuntu-latest
3437 steps :
3538 - name : Check out repo and build scripts
36- uses : actions/checkout@v4
39+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3740 with :
3841 submodules : recursive
42+ persist-credentials : false
3943 - name : Run sccache
40- uses : mozilla-actions/sccache-action@v0.0.7
44+ uses : mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
4145 - name : rustfmt nightly
4246 run : |
4347 rustup toolchain install nightly-x86_64-unknown-linux-gnu
4448 rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu
4549 - name : Install Python
46- uses : actions/setup-python@v5
50+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4751 with :
4852 python-version : " 3.13"
4953 - name : Install pre-commit
@@ -55,20 +59,23 @@ jobs:
5559 runs-on : ubuntu-latest
5660 steps :
5761 - name : Check out repo and build scripts
58- uses : actions/checkout@v4
62+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5963 with :
6064 submodules : recursive
65+ persist-credentials : false
6166 - name : Run sccache
62- uses : mozilla-actions/sccache-action@v0.0.7
63- - name : Install grcov
64- run : cargo install grcov
65- - name : Add llvm-tools
66- run : rustup component add llvm-tools-preview
67+ uses : mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
68+ - name : Install cargo-nextest
69+ uses : taiki-e/install-action@0fde6d128a3d980ceac30be8c8b8739abd963b81 # v2.70.0
70+ with :
71+ tool : cargo-nextest
72+ - name : Install cargo-llvm-cov
73+ uses : taiki-e/install-action@0fde6d128a3d980ceac30be8c8b8739abd963b81 # v2.70.0
74+ with :
75+ tool : cargo-llvm-cov
6776 - name : Test
68- run : make test
69- - name : Compute coverage
70- run : make cover
77+ run : make test cover
7178 - name : Upload coverage
72- uses : codecov/codecov-action@v5
79+ uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
7380 with :
7481 token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments