@@ -16,18 +16,18 @@ jobs:
1616 name : Security Audit
1717 runs-on : ubuntu-latest
1818 steps :
19- - uses : actions/checkout@v6
19+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2020 with :
2121 persist-credentials : false
22- - uses : cargo-bins/cargo-binstall@v1.20.0
23- - run : cargo binstall -y cargo-audit
22+ - uses : cargo-bins/cargo-binstall@30b5ca8b54e1dcffd9548bc87ede1531310fdc67 # v1.20.0
23+ - run : cargo binstall -y cargo-audit@0.22.2
2424 - run : cargo audit --deny warnings
2525
2626 zizmor :
2727 name : Actions Lint
2828 runs-on : ubuntu-latest
2929 steps :
30- - uses : actions/checkout@v6
30+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3131 with :
3232 persist-credentials : false
3333 - name : Install zizmor
@@ -41,40 +41,42 @@ jobs:
4141 name : Licenses & Bans
4242 runs-on : ubuntu-latest
4343 steps :
44- - uses : actions/checkout@v6
44+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4545 with :
4646 persist-credentials : false
47- - uses : EmbarkStudios/cargo-deny-action@v2
47+ - uses : EmbarkStudios/cargo-deny-action@bb137d7af7e4fb67e5f82a49c4fce4fad40782fe # v2.0.20
4848 with :
4949 command : check licenses bans sources
5050
5151 trufflehog :
5252 name : Secret Scan
5353 runs-on : ubuntu-latest
5454 steps :
55- - uses : actions/checkout@v6
55+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
5656 with :
5757 fetch-depth : 0
5858 persist-credentials : false
59- - uses : trufflesecurity/trufflehog@v3.95.5
59+ - uses : trufflesecurity/trufflehog@d411fff7b8879a62509f3fa98c07f247ac089a51 # v3.95.5
6060 with :
6161 extra_args : --results=verified,unverified,unknown
6262
6363 fmt :
6464 name : Format
6565 runs-on : ubuntu-latest
6666 steps :
67- - uses : actions/checkout@v6
67+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6868 with :
6969 persist-credentials : false
7070 # dprint formats TOML + Markdown + Rust via its exec plugin, which shells
7171 # out to rustfmt, so the toolchain must be present. setup-rust-toolchain
7272 # installs it from rust-toolchain.toml (including the rustfmt component).
73- - uses : actions-rust-lang/setup-rust-toolchain@v1
73+ - uses : actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16.1
7474 with :
7575 cache : false
7676 rustflags : " "
77- - uses : dprint/check@v2.3
77+ - uses : dprint/check@9cb3a2b17a8e606d37aae341e49df3654933fc23 # v2.3
78+ with :
79+ dprint-version : " 0.54.0"
7880
7981 check :
8082 name : Check (${{ matrix.os }})
@@ -84,23 +86,24 @@ jobs:
8486 matrix :
8587 os : [ubuntu-latest, macos-latest, windows-latest]
8688 steps :
87- - uses : actions/checkout@v6
89+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
8890 with :
8991 persist-credentials : false
9092
91- - uses : actions-rust-lang/setup-rust-toolchain@v1
93+ - uses : actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16.1
9294
9395 - name : Install protoc
94- uses : arduino/setup-protoc@v3
96+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
9597 with :
98+ version : " 35.1"
9699 repo-token : ${{ secrets.GITHUB_TOKEN }}
97100
98101 - name : Clippy
99102 run : cargo clippy --workspace -- -D warnings
100103
101104 - name : Install cargo-nextest
102- uses : cargo-bins/cargo-binstall@v1.20.0
103- - run : cargo binstall -y cargo-nextest
105+ uses : cargo-bins/cargo-binstall@30b5ca8b54e1dcffd9548bc87ede1531310fdc67 # v1.20.0
106+ - run : cargo binstall -y cargo-nextest@0.9.137
104107
105108 - name : Test
106109 run : cargo nextest run --workspace
@@ -113,22 +116,23 @@ jobs:
113116 name : Fuzz targets (check)
114117 runs-on : ubuntu-latest
115118 steps :
116- - uses : actions/checkout@v6
119+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
117120 with :
118121 persist-credentials : false
119122
120123 - id : nightly
121124 run : echo "toolchain=$(cat .rust-nightly)" >> "$GITHUB_OUTPUT"
122125
123- - uses : actions-rust-lang/setup-rust-toolchain@v1
126+ - uses : actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16.1
124127 with :
125128 toolchain : ${{ steps.nightly.outputs.toolchain }}
126129 rustflags : " "
127130 cache-workspaces : fuzz -> fuzz/target
128131
129132 - name : Install protoc
130- uses : arduino/setup-protoc@v3
133+ uses : arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
131134 with :
135+ version : " 35.1"
132136 repo-token : ${{ secrets.GITHUB_TOKEN }}
133137
134138 - name : Check fuzz targets
0 commit comments