@@ -73,42 +73,12 @@ jobs:
7373 echo "GOBIN=$HOME/bin" >> $GITHUB_ENV
7474 mkdir -p $HOME/bin
7575 - name : Check out code into the Go module directory
76- uses : actions/checkout@v3
76+ uses : actions/checkout@v4
7777 - name : Set up Go
78- uses : actions/setup-go@v3
78+ uses : actions/setup-go@v5
7979 id : setup-go
8080 with :
8181 go-version-file : ' go.mod'
82- - name : Cache Go modules (Linux)
83- if : matrix.target_os == 'linux'
84- uses : actions/cache@v3
85- with :
86- path : |
87- ~/.cache/go-build
88- ~/go/pkg/mod
89- key : ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
90- restore-keys : |
91- ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-
92- - name : Cache Go modules (Windows)
93- if : matrix.target_os == 'windows'
94- uses : actions/cache@v3
95- with :
96- path : |
97- ~\AppData\Local\go-build
98- ~\go\pkg\mod
99- key : ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
100- restore-keys : |
101- ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-
102- - name : Cache Go modules (macOS)
103- if : matrix.target_os == 'darwin'
104- uses : actions/cache@v3
105- with :
106- path : |
107- ~/Library/Caches/go-build
108- ~/go/pkg/mod
109- key : ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
110- restore-keys : |
111- ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-
11282 - name : Run golangci-lint
11383 if : matrix.target_arch == 'amd64' && matrix.target_os == 'linux'
11484@@ -203,7 +173,7 @@ jobs:
203173 runs-on : windows-latest
204174 steps :
205175 - name : Check out code
206- uses : actions/checkout@v3
176+ uses : actions/checkout@v4
207177 - name : Parse release version and set REL_VERSION
208178 run : python ./.github/scripts/get_release_version.py
209179 - name : Update winget manifests
0 commit comments