Skip to content

Commit 5624a9b

Browse files
committed
github actions: tweaks
Use ba -against instead of -a. Use go vet -unsafeptr=false, as gosec already checks for these.
1 parent 18a4077 commit 5624a9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: 'Check: go test -race'
6060
run: go test -timeout=120s -race -bench=. -benchtime=1x ./...
6161
- name: 'Check: benchmark 📈'
62-
run: ba -a HEAD~1
62+
run: ba -against HEAD~1
6363
- name: 'Check: go test -short (CGO_ENABLED=0)'
6464
env:
6565
CGO_ENABLED: 0
@@ -135,7 +135,7 @@ jobs:
135135
go install github.com/google/addlicense@latest
136136
- name: 'Check: go vet'
137137
if: always()
138-
run: go vet ./...
138+
run: go vet -unsafeptr=false ./...
139139
- name: 'Check: go vet shadow; shadowed variables'
140140
if: always()
141141
run: |

0 commit comments

Comments
 (0)