Skip to content

chore(CI): add golangci-lint for PRs #1

chore(CI): add golangci-lint for PRs

chore(CI): add golangci-lint for PRs #1

Workflow file for this run

name: Go Lint
on:
push:
branches:
- master
pull_request:
jobs:
lint:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.22'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.56.0
args: --timeout 3m