@@ -21,27 +21,27 @@ jobs:
2121 env :
2222 flags : " "
2323 steps :
24- - uses : actions/checkout@v3
24+ - uses : actions/checkout@v4
2525 with :
2626 fetch-depth : 0
27- - uses : actions/setup-go@v3
27+ - uses : actions/setup-go@v5
2828 with :
2929 go-version : 1.22
3030 cache : true
3131 - shell : bash
3232 run : |
3333 echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
34- - uses : actions/cache@v3
34+ - uses : actions/cache@v4
3535 if : matrix.os == 'ubuntu-latest'
3636 with :
3737 path : dist/linux
3838 key : linux-${{ env.sha_short }}
39- - uses : actions/cache@v3
39+ - uses : actions/cache@v4
4040 if : matrix.os == 'macos-latest'
4141 with :
4242 path : dist/darwin
4343 key : darwin-${{ env.sha_short }}
44- - uses : actions/cache@v3
44+ - uses : actions/cache@v4
4545 if : matrix.os == 'windows-latest'
4646 with :
4747 path : dist/windows
5353 - if : matrix.os == 'windows-latest'
5454 shell : bash
5555 run : echo "flags=--skip-before" >> $GITHUB_ENV # skip before hooks on windows (shell scripts for manpages and completions)
56- - uses : goreleaser/goreleaser-action@v4
56+ - uses : goreleaser/goreleaser-action@v6
5757 if : steps.cache.outputs.cache-hit != 'true' # do not run if cache hit
5858 with :
5959 distribution : goreleaser-pro
@@ -69,10 +69,10 @@ jobs:
6969 runs-on : ubuntu-latest
7070 needs : prepare
7171 steps :
72- - uses : actions/checkout@v3
72+ - uses : actions/checkout@v4
7373 with :
7474 fetch-depth : 0
75- - uses : actions/setup-go@v3
75+ - uses : actions/setup-go@v5
7676 with :
7777 go-version : 1.22
7878 cache : true
@@ -81,22 +81,22 @@ jobs:
8181 - shell : bash
8282 run : |
8383 echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
84- - uses : actions/cache@v3
84+ - uses : actions/cache@v4
8585 with :
8686 path : dist/linux
8787 key : linux-${{ env.sha_short }}
88- - uses : actions/cache@v3
88+ - uses : actions/cache@v4
8989 with :
9090 path : dist/darwin
9191 key : darwin-${{ env.sha_short }}
92- - uses : actions/cache@v3
92+ - uses : actions/cache@v4
9393 with :
9494 path : dist/windows
9595 key : windows-${{ env.sha_short }}
9696 enableCrossOsArchive : true
9797
9898 # release
99- - uses : goreleaser/goreleaser-action@v4
99+ - uses : goreleaser/goreleaser-action@v6
100100 if : steps.cache.outputs.cache-hit != 'true' # do not run if cache hit
101101 with :
102102 version : latest
0 commit comments