Skip to content

github/workflows: add linting workflow (#5) #4

github/workflows: add linting workflow (#5)

github/workflows: add linting workflow (#5) #4

Workflow file for this run

name: Golangci lint
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
env:
GOFLAGS: -mod=mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
skip-pkg-cache: true