name: "Lint Golang files" on: pull_request: types: [ "opened", "reopened", "synchronize" ] push: branches: [ '**' ] tags-ignore: [ '**' ] workflow_dispatch: {} permissions: contents: read jobs: golangci: name: "Run golang CI linter" runs-on: ${{ matrix.os }} strategy: matrix: go: [ stable ] os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ] steps: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ matrix.go }} - uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 with: version: v2.12.2 # renovate: datasource=github-releases depName=golangci/golangci-lint