2727 runs-on : ${{matrix.os}}
2828
2929 steps :
30- - uses : actions/checkout@v2
31- - uses : actions-rs/toolchain@v1
30+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+ - uses : actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
3232 with :
3333 toolchain : stable
3434 - name : If target is musl, install musl-tools (including musl-gcc) and set target
@@ -38,15 +38,15 @@ jobs:
3838 sudo apt install musl-tools -y
3939 rustup target add ${{ matrix.target }}
4040 - name : Build
41- uses : actions-rs/cargo@v1
41+ uses : actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # v1.0.1
4242 with :
4343 command : build
4444 args : --release --all-features --package git2mail --verbose ${{ matrix.cargo_build }}
4545 - name : Strip resulting binary
4646 if : matrix.build == 'linux'
4747 run : strip ./target/${{ matrix.target }}/release/git2mail${{ matrix.extension }}
4848 - name : Upload resulting 'git2mail'
49- uses : actions/upload-artifact@v1
49+ uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
5050 with :
5151 name : git2mail-${{ matrix.build }}
5252 path : ./target/${{ matrix.target }}/release/git2mail${{ matrix.extension }}
@@ -64,15 +64,15 @@ jobs:
6464 echo "using version tag ${GITHUB_REF:15}"
6565 echo ::set-output name=version::"${GITHUB_REF:15}"
6666 - name : Checkout code
67- uses : actions/checkout@v2
67+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6868 - name : Get Changelog Entry
6969 id : changelog_reader
70- uses : mindsers/changelog-reader-action@v2
70+ uses : mindsers/changelog-reader-action@32aa5b4c155d76c94e4ec883a223c947b2f02656 # v2.2.3
7171 with :
7272 path : CHANGELOG.md
7373 - name : Create Release
7474 id : create_release
75- uses : actions/create-release@v1
75+ uses : actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
7676 env :
7777 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7878 with :
@@ -82,22 +82,22 @@ jobs:
8282 draft : true
8383
8484 - name : Download Linux artifact
85- uses : actions/download-artifact@v1
85+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
8686 with :
8787 name : git2mail-linux
8888
8989 - name : Download Windows artifact
90- uses : actions/download-artifact@v1
90+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
9191 with :
9292 name : git2mail-windows
9393
9494 - name : Download MacOS artifact
95- uses : actions/download-artifact@v1
95+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
9696 with :
9797 name : git2mail-macos
9898
9999 - name : Release Linux artifact
100- uses : actions/upload-release-asset@v1
100+ uses : actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
101101 env :
102102 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
103103 with :
@@ -107,7 +107,7 @@ jobs:
107107 asset_name : git2mail-linux-static-${{ steps.get_version.outputs.VERSION }}
108108
109109 - name : Release Windows artifact
110- uses : actions/upload-release-asset@v1
110+ uses : actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
111111 env :
112112 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
113113 with :
@@ -117,7 +117,7 @@ jobs:
117117 asset_name : git2mail-windows-${{ steps.get_version.outputs.VERSION }}
118118
119119 - name : Release MacOS artifact
120- uses : actions/upload-release-asset@v1
120+ uses : actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
121121 env :
122122 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
123123 with :
0 commit comments