@@ -35,10 +35,10 @@ jobs:
3535 - name : Turn off git core.autocrlf
3636 if : matrix.os == 'windows-latest'
3737 run : git config --global core.autocrlf false
38- - uses : actions/checkout@v4
38+ - uses : actions/checkout@v6
3939 with :
4040 fetch-depth : 2
41- - uses : actions/setup-go@v5
41+ - uses : actions/setup-go@v6
4242 with :
4343 go-version-file : go.mod
4444 - name : ' go install necessary tools'
@@ -49,14 +49,17 @@ jobs:
4949 if : always()
5050 run : go test -timeout=120s -covermode=count -coverprofile coverage.txt -bench=. -benchtime=1x ./...
5151 # Don't send code coverage if anything failed to reduce spam.
52- - uses : codecov/codecov-action@v4
52+ - uses : codecov/codecov-action@v6
5353 with :
5454 token : ${{secrets.CODECOV_TOKEN}}
5555 - name : ' Cleanup'
5656 if : always()
5757 run : rm coverage.txt
5858 - name : ' Check: go test -race'
5959 run : go test -timeout=120s -race -bench=. -benchtime=1x ./...
60+ # codecov leaves junk behind, remove that first.
61+ - run : rm -f codecov codecov.SHA256SUM codecov.SHA256SUM.sig codecov.exe.SHA256SUM codecov.exe.SHA256SUM.sig
62+ if : always()
6063 - name : ' Check: benchmark 📈'
6164 run : ba -against HEAD~1
6265 - name : ' Check: go test -short (CGO_ENABLED=0)'
@@ -105,8 +108,8 @@ jobs:
105108 - name : Turn off git core.autocrlf
106109 if : matrix.os == 'windows-latest'
107110 run : git config --global core.autocrlf false
108- - uses : actions/checkout@v4
109- - uses : actions/setup-go@v5
111+ - uses : actions/checkout@v6
112+ - uses : actions/setup-go@v6
110113 with :
111114 go-version-file : go.mod
112115 - name : ' go install necessary tools'
@@ -256,15 +259,15 @@ jobs:
256259 permissions :
257260 security-events : write
258261 steps :
259- - uses : actions/checkout@v4
260- - uses : actions/setup-go@v5
262+ - uses : actions/checkout@v6
263+ - uses : actions/setup-go@v6
261264 with :
262265 go-version-file : go.mod
263266 - name : Initialize CodeQL
264- uses : github/codeql-action/init@v3
267+ uses : github/codeql-action/init@v4
265268 with :
266269 languages : go
267270 - name : Autobuild
268- uses : github/codeql-action/autobuild@v3
271+ uses : github/codeql-action/autobuild@v4
269272 - name : Perform CodeQL Analysis
270- uses : github/codeql-action/analyze@v3
273+ uses : github/codeql-action/analyze@v4
0 commit comments