Skip to content

Linting Go code

Linting Go code #8

name: golangci-lint
run-name: Linting Go code
on:
push:
branches: [main]
workflow_dispatch:
pull_request:
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@v6
with:
version: v1.62.2
args: --timeout 5m