@@ -39,46 +39,46 @@ jobs:
3939 target : aarch64-pc-windows-msvc
4040 steps :
4141 - name : Checkout repository
42- uses : actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0
42+ uses : actions/checkout@v3
4343 with :
4444 fetch-depth : 0
4545
4646 - name : Get version
4747 id : get_version
48- uses : SebRollen/toml-action@2bd04b06a3ebc3e6a3eb6060de115710cad16cd6 # v1.0.2
48+ 4949 with :
5050 file : Cargo.toml
5151 field : package.version
5252
5353 - name : Install Rust
54- uses : actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
54+ uses : actions-rs/toolchain@v1
5555 with :
5656 toolchain : stable
5757 profile : minimal
5858 override : true
5959 target : ${{ matrix.target }}
6060
6161 - name : Setup cache
62- uses : Swatinem/rust-cache@81d053bdb0871dcd3f10763c8cc60d0adc41762b # v1
62+ uses : Swatinem/rust-cache@v1.0.2
6363 with :
6464 key : ${{ matrix.target }}
6565
6666 - name : Build binary
67- uses : actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
67+ uses : actions-rs/cargo@v1
6868 with :
6969 command : build
7070 args : --release --locked --target=${{ matrix.target }} --color=always --verbose
7171 use-cross : ${{ runner.os == 'Linux' }}
7272
7373 - name : Install cargo-deb
7474 if : ${{ matrix.deb == true }}
75- uses : actions-rs/install@9da1d2adcfe5e7c16992e8242ca33a56b6d9b101 # v0.1.2
75+ uses :
actions-rs/[email protected] 7676 with :
7777 crate : cargo-deb
7878
7979 - name : Build deb
8080 if : ${{ matrix.deb == true }}
81- uses : actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
81+ uses : actions-rs/cargo@v1
8282 with :
8383 command : deb
8484 args : --no-build --no-strip --output=. --target=${{ matrix.target }}
@@ -103,7 +103,7 @@ jobs:
103103 ./target/${{ matrix.target }}/release/zoxide.exe
104104
105105 - name : Upload artifact
106- uses : actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2.3.1
106+ uses : actions/upload-artifact@v3
107107 with :
108108 name : ${{ matrix.target }}
109109 path : |
@@ -113,7 +113,7 @@ jobs:
113113
114114 - name : Create release
115115 if : ${{ github.ref == 'refs/heads/main' && startsWith(github.event.head_commit.message, 'chore(release)') }}
116- uses : softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
116+ uses : softprops/action-gh-release@v1
117117 with :
118118 draft : true
119119 files : |
0 commit comments