Skip to content

Run golangci-lint as part of build workflow #120

Run golangci-lint as part of build workflow

Run golangci-lint as part of build workflow #120

Workflow file for this run

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.23.3']
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
- name: Build
run: make build