supabase-operator/.github/workflows/lint.yml
Peter Kurfer 6e9ebb5e61
Some checks failed
E2E Tests / Run on Ubuntu (push) Has been cancelled
Tests / Run on Ubuntu (push) Has been cancelled
Docs / deploy (push) Has been cancelled
Lint / Run on Ubuntu (push) Has been cancelled
release / release (push) Failing after 5m20s
fix(ci): omit import path in container images
2025-01-22 10:12:56 +01:00

31 lines
611 B
YAML

name: Lint
on:
push:
pull_request:
jobs:
lint:
name: Run on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
check-latest: true
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-file: go.mod
go-package: ./...
- name: Run linter
uses: golangci/golangci-lint-action@v6
with:
version: v1.61