66 - main
77 pull_request :
88
9+ permissions : {}
10+
911jobs :
1012 build :
1113 name : build
2426
2527 steps :
2628 - name : Checkout
27- uses : actions/checkout@v6
29+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
30+ with :
31+ persist-credentials : false
2832
2933 - name : Install dependencies (musl)
3034 if : contains(matrix.target, 'musl')
@@ -44,22 +48,24 @@ jobs:
4448 runs-on : ubuntu-latest
4549 steps :
4650 - name : Checkout
47- uses : actions/checkout@v6
51+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
52+ with :
53+ persist-credentials : false
4854
4955 - name : Restore fetcher cache
50- uses : actions/cache/restore@v5
56+ uses : actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
5157 with :
5258 key : nix-cache-${{ hashFiles('flake.lock', 'src/**', 'tests/**/*.toml') }}
5359 path : ~/.cache/nix
5460 restore-keys : nix-cache-
5561
5662 - name : Install nix
57- uses : cachix/install-nix-action@v31
63+ uses : cachix/install-nix-action@51f3067b56fe8ae331890c77d4e454f6d60615ff # v31.10.2
5864 with :
5965 nix_path : nixpkgs=channel:nixos-unstable
6066
6167 - name : Set up cachix
62- uses : cachix/cachix-action@v17
68+ uses : cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c # v17
6369 with :
6470 name : nix-community
6571 authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
6874 run : cargo test
6975
7076 - name : Save fetcher cache
71- uses : actions/cache/save@v5
77+ uses : actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
7278 if : always()
7379 with :
7480 key : nix-cache-${{ hashFiles('flake.lock', 'src/**', 'tests/**/*.toml') }}
7985 runs-on : ubuntu-latest
8086 steps :
8187 - name : Checkout
82- uses : actions/checkout@v6
88+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
89+ with :
90+ persist-credentials : false
8391
8492 - name : " Cargo: clippy, fmt"
8593 run : |
0 commit comments