@@ -45,13 +45,15 @@ jobs:
4545 CARGO_PROFILE_DEV_DEBUG : line-tables-only
4646 steps :
4747 - name : Checkout repository
48- uses : actions/checkout@v6
48+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
49+ with :
50+ persist-credentials : false
4951 - name : Install Rust
50- uses : dtolnay/rust-toolchain@stable
52+ uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
5153 with :
5254 toolchain : ${{ matrix.rust }}
53- - uses : Swatinem/rust-cache@v2
54- - uses : taiki-e/install-action@cargo-hack
55+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
56+ - uses : taiki-e/install-action@4448ce47d533cbe63d6dfafa732cf574a34606b5 # cargo-hack
5557 - name : Build
5658 run : cargo test --workspace --no-run
5759 - name : Test
@@ -64,13 +66,15 @@ jobs:
6466 runs-on : ${{ matrix.os }}
6567 steps :
6668 - name : Checkout repository
67- uses : actions/checkout@v6
69+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
70+ with :
71+ persist-credentials : false
6872 - name : Install Rust
69- uses : dtolnay/rust-toolchain@stable
73+ uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
7074 with :
7175 toolchain : stable
72- - uses : Swatinem/rust-cache@v2
73- - uses : taiki-e/install-action@cargo-hack
76+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
77+ - uses : taiki-e/install-action@4448ce47d533cbe63d6dfafa732cf574a34606b5 # cargo-hack
7478 - name : Default features
7579 run : cargo hack check --each-feature --locked --rust-version --ignore-private --workspace --all-targets --keep-going
7680 minimal-versions :
@@ -81,13 +85,15 @@ jobs:
8185 runs-on : ${{ matrix.os }}
8286 steps :
8387 - name : Checkout repository
84- uses : actions/checkout@v6
88+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
89+ with :
90+ persist-credentials : false
8591 - name : Install stable Rust
86- uses : dtolnay/rust-toolchain@stable
92+ uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
8793 with :
8894 toolchain : stable
8995 - name : Install nightly Rust
90- uses : dtolnay/rust-toolchain@stable
96+ uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
9197 with :
9298 toolchain : nightly
9399 - name : Downgrade dependencies to minimal versions
@@ -98,25 +104,29 @@ jobs:
98104 runs-on : ubuntu-latest
99105 steps :
100106 - name : Checkout repository
101- uses : actions/checkout@v6
107+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
108+ with :
109+ persist-credentials : false
102110 - name : Install Rust
103- uses : dtolnay/rust-toolchain@stable
111+ uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
104112 with :
105113 toolchain : stable
106- - uses : Swatinem/rust-cache@v2
114+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
107115 - name : " Is lockfile updated?"
108116 run : cargo update --workspace --locked
109117 docs :
110118 name : Docs
111119 runs-on : ubuntu-latest
112120 steps :
113121 - name : Checkout repository
114- uses : actions/checkout@v6
122+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
123+ with :
124+ persist-credentials : false
115125 - name : Install Rust
116- uses : dtolnay/rust-toolchain@stable
126+ uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
117127 with :
118128 toolchain : " 1.94" # STABLE
119- - uses : Swatinem/rust-cache@v2
129+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
120130 - name : Check documentation
121131 env :
122132 RUSTDOCFLAGS : -D warnings
@@ -126,13 +136,15 @@ jobs:
126136 runs-on : ubuntu-latest
127137 steps :
128138 - name : Checkout repository
129- uses : actions/checkout@v6
139+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
140+ with :
141+ persist-credentials : false
130142 - name : Install Rust
131- uses : dtolnay/rust-toolchain@stable
143+ uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
132144 with :
133145 toolchain : " 1.94" # STABLE
134146 components : rustfmt
135- - uses : Swatinem/rust-cache@v2
147+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
136148 - name : Check formatting
137149 run : cargo fmt --check
138150 clippy :
@@ -142,13 +154,15 @@ jobs:
142154 security-events : write # to upload sarif results
143155 steps :
144156 - name : Checkout repository
145- uses : actions/checkout@v6
157+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
158+ with :
159+ persist-credentials : false
146160 - name : Install Rust
147- uses : dtolnay/rust-toolchain@stable
161+ uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
148162 with :
149163 toolchain : " 1.94" # STABLE
150164 components : clippy
151- - uses : Swatinem/rust-cache@v2
165+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
152166 - name : Install SARIF tools
153167 run : cargo install clippy-sarif --locked
154168 - name : Install SARIF tools
@@ -161,7 +175,7 @@ jobs:
161175 | sarif-fmt
162176 continue-on-error : true
163177 - name : Upload
164- uses : github/codeql-action/upload-sarif@v4
178+ uses : github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4
165179 with :
166180 sarif_file : clippy-results.sarif
167181 wait-for-processing : true
@@ -172,17 +186,19 @@ jobs:
172186 runs-on : ubuntu-latest
173187 steps :
174188 - name : Checkout repository
175- uses : actions/checkout@v6
189+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
190+ with :
191+ persist-credentials : false
176192 - name : Install Rust
177- uses : dtolnay/rust-toolchain@stable
193+ uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
178194 with :
179195 toolchain : stable
180- - uses : Swatinem/rust-cache@v2
196+ - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
181197 - name : Install cargo-tarpaulin
182198 run : cargo install cargo-tarpaulin
183199 - name : Gather coverage
184200 run : cargo tarpaulin --output-dir coverage --out lcov
185201 - name : Publish to Coveralls
186- uses : coverallsapp/github-action@master
202+ uses : coverallsapp/github-action@09b709cf6a16e30b0808ba050c7a6e8a5ef13f8d # master
187203 with :
188204 github-token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments