2727 os : macos-latest
2828
2929 steps :
30- - uses : actions/checkout@v4
30+ - uses : actions/checkout@v6.0.2
3131 with :
3232 submodules : recursive
3333
3838 sudo apt-get install -y libncurses-dev
3939
4040 - name : Install Rust
41- uses : dtolnay/rust-toolchain@stable
41+ uses : dtolnay/rust-toolchain@v1
42+ with :
43+ toolchain : stable
4244
4345 - name : Set version from tag
4446 run : |
6365 cd ../..
6466
6567 - name : Upload artifact
66- uses : actions/upload-artifact@v4
68+ uses : actions/upload-artifact@v7.0.0
6769 with :
6870 name : bash-ast-${{ matrix.target }}
6971 path : bash-ast-${{ github.ref_name }}-${{ matrix.target }}.tar.gz
8082 - arch : arm64
8183 os : ubuntu-24.04-arm
8284 steps :
83- - uses : actions/checkout@v4
85+ - uses : actions/checkout@v6.0.2
8486 with :
8587 submodules : recursive
8688
9092 sudo apt-get install -y libncurses-dev rpm
9193
9294 - name : Install Rust
93- uses : dtolnay/rust-toolchain@stable
95+ uses : dtolnay/rust-toolchain@v1
96+ with :
97+ toolchain : stable
9498
9599 - name : Install packaging tools
96100 run : cargo install cargo-deb cargo-generate-rpm
@@ -117,13 +121,13 @@ jobs:
117121 ls -la target/generate-rpm/
118122
119123 - name : Upload .deb artifact
120- uses : actions/upload-artifact@v4
124+ uses : actions/upload-artifact@v7.0.0
121125 with :
122126 name : linux-deb-${{ matrix.arch }}
123127 path : target/debian/*.deb
124128
125129 - name : Upload .rpm artifact
126- uses : actions/upload-artifact@v4
130+ uses : actions/upload-artifact@v7.0.0
127131 with :
128132 name : linux-rpm-${{ matrix.arch }}
129133 path : target/generate-rpm/*.rpm
@@ -141,10 +145,10 @@ jobs:
141145 bottle_tag : arm64_sequoia
142146
143147 steps :
144- - uses : actions/checkout@v4
148+ - uses : actions/checkout@v6.0.2
145149
146150 - name : Set up Homebrew
147- uses : Homebrew/actions/setup-homebrew@master
151+ uses : Homebrew/actions/setup-homebrew@main
148152
149153 - name : Tap and install formula for bottling
150154 env :
@@ -196,7 +200,7 @@ jobs:
196200 mv bash-ast-*.bottle.* ${{ github.workspace }}/
197201
198202 - name : Upload bottle artifact
199- uses : actions/upload-artifact@v4
203+ uses : actions/upload-artifact@v7.0.0
200204 with :
201205 name : bottle-${{ matrix.bottle_tag }}
202206 path : |
@@ -211,10 +215,10 @@ jobs:
211215 contents : write
212216
213217 steps :
214- - uses : actions/checkout@v4
218+ - uses : actions/checkout@v6.0.2
215219
216220 - name : Download all artifacts
217- uses : actions/download-artifact@v4
221+ uses : actions/download-artifact@v8.0.1
218222 with :
219223 path : artifacts
220224 merge-multiple : true
@@ -223,7 +227,7 @@ jobs:
223227 run : ls -la artifacts/
224228
225229 - name : Create GitHub Release
226- uses : softprops/action-gh-release@v2
230+ uses : softprops/action-gh-release@v2.6.1
227231 with :
228232 files : |
229233 artifacts/*.tar.gz
@@ -242,10 +246,10 @@ jobs:
242246
243247 steps :
244248 - name : Checkout bash-ast
245- uses : actions/checkout@v4
249+ uses : actions/checkout@v6.0.2
246250
247251 - name : Download bottle artifacts
248- uses : actions/download-artifact@v4
252+ uses : actions/download-artifact@v8.0.1
249253 with :
250254 pattern : bottle-*
251255 path : bottles
@@ -326,7 +330,7 @@ jobs:
326330 mv formula_final.rb Formula/bash-ast.rb
327331
328332 - name : Checkout homebrew-taps
329- uses : actions/checkout@v4
333+ uses : actions/checkout@v6.0.2
330334 with :
331335 repository : cv/homebrew-taps
332336 token : ${{ secrets.HOMEBREW_TAP_TOKEN }}
0 commit comments