Skip to content
name: Linting
on:
push:
permissions:
contents: read
env:
GO_VERSION: '1.20'
LINTER_VERSION: 1.53
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Set up Go
uses: ./.github/actions/setup-go
with:
go-version: ${{ env.GO_VERSION }}
- name: Lint
uses: ./.github/actions/lint
with:
linter-version: ${{ env.LINTER_VERSION }}