Skip to content

chore(go): go mod tidy #302

chore(go): go mod tidy

chore(go): go mod tidy #302

name: clustertool-go-lint
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
pull_request:
branches:
- main
paths:
- 'main.go'
- 'go.mod'
- 'go.sum'
- 'cmd/**'
- 'embed/**'
- '!embed/generic/**'
- 'pkg/**'
- 'partial_builds/**'
- 'pkg/**'
- ".github/workflows/clustertool.test.yaml"
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on:
group: default
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: stable
cache: false
- name: Run golangci-lint
uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9
with:
version: latest
args: >
--timeout=3m
--skip-dirs=embed/generic
--enable-only=ineffassign,unused # As a first start, can always add more linters later