Skip to content

🌱 cleanup: sanity GHA #3292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions .github/workflows/sanity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,30 @@ on:
workflow_dispatch:
merge_group:
jobs:
vendor:
check-vendor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run sanity checks
- name: Verify vendor directory
run: make vendor && make diff
lint:
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run linting checks
uses: "golangci/golangci-lint-action@v6"
with:
version: "v1.58.2"
skip-pkg-cache: true

- name: Run static analysis tools
run: make lint vet
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Verify generated code (mocks, clients, listers, etc.)
run: make verify
22 changes: 0 additions & 22 deletions .github/workflows/verify.yml

This file was deleted.

Loading