2020 GOPATH : /home/runner/go
2121
2222 steps :
23- - uses : actions/checkout@v6
23+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2424 with :
2525 fetch-depth : 0
2626
@@ -31,12 +31,12 @@ jobs:
3131 echo "version=${GO_VERSION}" >> $GITHUB_OUTPUT
3232
3333 - name : Set up Go
34- uses : actions/setup-go@v6
34+ uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
3535 with :
3636 go-version : ${{ steps.go_version.outputs.version }}
3737
3838 - name : Cache Godel assets
39- uses : actions/cache@v5
39+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
4040 with :
4141 path : ~/.godel
4242 key : ${{ runner.os }}-godel-${{ hashFiles('godelw', 'godel/config/godel.yml') }}
5555 GOPATH : /home/runner/go
5656
5757 steps :
58- - uses : actions/checkout@v6
58+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
5959 with :
6060 fetch-depth : 0
6161
@@ -66,12 +66,12 @@ jobs:
6666 echo "version=${GO_VERSION}" >> $GITHUB_OUTPUT
6767
6868 - name : Set up Go
69- uses : actions/setup-go@v6
69+ uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
7070 with :
7171 go-version : ${{ steps.go_version.outputs.version }}
7272
7373 - name : Cache Godel assets
74- uses : actions/cache@v5
74+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
7575 with :
7676 path : ~/.godel
7777 key : ${{ runner.os }}-godel-${{ hashFiles('godelw', 'godel/config/godel.yml') }}
8585 run : ./godelw docker build --verbose
8686
8787 - name : Archive distribution
88- uses : actions/upload-artifact@v7
88+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
8989 with :
9090 name : dist
9191 path : |
9898
9999 - name : Login to Docker Hub
100100 if : ${{ github.event_name == 'push' || github.event_name == 'release' }}
101- uses : docker/login-action@v4
101+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
102102 with :
103103 username : ${{ secrets.DOCKERHUB_USERNAME }}
104104 password : ${{ secrets.DOCKERHUB_PASSWORD }}
0 commit comments