Skip to content

Feat/issue 1 lack of linter (#3) #11

Feat/issue 1 lack of linter (#3)

Feat/issue 1 lack of linter (#3) #11

Workflow file for this run

name: Lint
on:
pull_request:
push:
env:
GO_VERSION: ${{ vars.GO_VERSION }}
jobs:
golangci-lint:
name: Run golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.1.0
args: --timeout=5m