Skip to content

chore(deps): update dependency golangci/golangci-lint to v1.54.1 (#125) #283

chore(deps): update dependency golangci/golangci-lint to v1.54.1 (#125)

chore(deps): update dependency golangci/golangci-lint to v1.54.1 (#125) #283

Workflow file for this run

name: go
on:
pull_request:
paths:
- .github/workflows/go.yaml
- '**.go'
- go.*
push:
branches:
- main
paths:
- .github/workflows/go.yaml
- '**.go'
- go.*
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21.0
cache: false # by golangci-lint-action
- uses: golangci/golangci-lint-action@v3
with:
version: v1.54.1
args: --timeout=3m
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21.0
- run: go mod tidy
- run: make fmt
- run: make generate manifests
- uses: int128/update-generated-files-action@v2
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21.0
- run: make test