diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 639acf5468..3b5ba17b5d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -8,6 +8,23 @@ on: workflow_dispatch: jobs: + lint: + name: Lint + runs-on: self-hosted + steps: + - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: 1.23.0 + cache: false + - name: Run linters + run: | + go run build/ci.go lint + go run build/ci.go check_tidy + go run build/ci.go check_generate + go run build/ci.go check_baddeps + build: runs-on: self-hosted steps: @@ -17,11 +34,6 @@ jobs: with: go-version: 1.23.0 cache: false - - name: Lint - run: go run build/ci.go lint - env: - GOOS: linux - GOARCH: 386 - name: Run tests run: go test -short ./... env: