Skip to content

Commit 6048c18

Browse files
perdasilvaPer Goncalves da Silva
and
Per Goncalves da Silva
authored
merge sanity check and verify ghas (#3292)
Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]>
1 parent 71056b5 commit 6048c18

File tree

2 files changed

+14
-31
lines changed

2 files changed

+14
-31
lines changed

.github/workflows/sanity.yaml

+14-9
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,30 @@ on:
77
workflow_dispatch:
88
merge_group:
99
jobs:
10-
vendor:
10+
check-vendor:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-go@v5
1515
with:
1616
go-version-file: "go.mod"
17-
- name: Run sanity checks
17+
- name: Verify vendor directory
1818
run: make vendor && make diff
19-
lint:
19+
static-analysis:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v4
2323
- uses: actions/setup-go@v5
2424
with:
2525
go-version-file: "go.mod"
26-
- name: Run linting checks
27-
uses: "golangci/golangci-lint-action@v6"
28-
with:
29-
version: "v1.58.2"
30-
skip-pkg-cache: true
31-
26+
- name: Run static analysis tools
27+
run: make lint vet
28+
verify:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: actions/setup-go@v5
33+
with:
34+
go-version-file: "go.mod"
35+
- name: Verify generated code (mocks, clients, listers, etc.)
36+
run: make verify

.github/workflows/verify.yml

-22
This file was deleted.

0 commit comments

Comments
 (0)