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@v4.3.0 - uses: actions/setup-go@v5.5.0 with: go-version: ${{ matrix.go }} - uses: golangci/golangci-lint-action@v8.0.0 with: version: v2.3.1 # renovate: datasource=github-releases depName=golangci/golangci-lint