Live video on the AT Protocol
1name: golangci-lint
2
3on:
4 push:
5 pull_request:
6
7jobs:
8 golangci:
9 name: lint
10 runs-on: ubuntu-latest
11 steps:
12 - name: Check out code
13 uses: actions/checkout@v4.1.7
14 with:
15 fetch-depth: 0
16 fetch-tags: true
17 ref: ${{ github.event.pull_request.head.sha }}
18
19 - name: run build for linting
20 run: |
21 sudo apt install podman -y
22 sudo ln -s $(realpath ./hack/golangci-lint) /usr/bin/golangci-lint
23 make golangci-lint-container BUILDER_TARGET=builder-no-darwin
24
25 - name: golangci-lint
26 uses: golangci/golangci-lint-action@v8
27 with:
28 version: v2.1
29 args: --config=./.golangci.yaml
30 install-mode: none