Skip to content

Use golangci-lint to enforce linting and formatting rules #1

Use golangci-lint to enforce linting and formatting rules

Use golangci-lint to enforce linting and formatting rules #1

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.1