Skip to content

chore: bump to vcluster v0.20.0 #227

chore: bump to vcluster v0.20.0

chore: bump to vcluster v0.20.0 #227

Workflow file for this run

name: golangci-lint
on:
pull_request:
branches:
- main
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
env:
GOPRIVATE: "github.com/loft-sh/*"
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: false
- name: Build logcheck plugin
run: go build -o "tools/logcheck.so" -mod=vendor -buildmode=plugin sigs.k8s.io/logtools/logcheck/plugin
env:
GOWORK: off
- name: Build golangci-lint
run: go build -o "tools/golangci-lint" -mod=vendor ./vendor/github.com/golangci/golangci-lint/cmd/golangci-lint
- name: Run golangci-lint
run: tools/golangci-lint run --out-format=github-actions ./...
env:
LOGCHECK_CONFIG: hack/logcheck.conf