Skip to content

Update linter.yml

Update linter.yml #19

Workflow file for this run

name: lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
golangci:
name: GolangCI Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: stable
cache: false
- name: Download dependencies
run: go mod download
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
args: --timeout=5m