aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
blob: 48972fd64fc950de569c8532c2d9a167b358b256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Lint
on:
  push:
    branches:
      - master
  pull_request:
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - uses: actions/setup-go@v5
      with:
        go-version: 1.20.x
    - run: go version
    - name: Run golangci-lint
      uses: golangci/golangci-lint-action@v4
      with:
        version: v1.56.2
        args: --verbose