Skip to content

golangci-lint

golangci-lint #122

Workflow file for this run

name: golangci-lint
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
permissions:
contents: read
env:
GOGC: 50
jobs:
golangci:
name: lint
runs-on: arc-runner-set-ns
steps:
- uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
- name: Install dependencies
run: go get .
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.7.2
args: --timeout=60m