Skip to content

golangci-lint

golangci-lint #49

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- master
pull_request:
# Cancel in-progress runs for older commits when a new commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v7
- name: Set up Go
uses: actions/setup-go@v7
with:
go-version: 1.26.0
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.12.2