-
-
Notifications
You must be signed in to change notification settings - Fork 7
33 lines (27 loc) · 567 Bytes
/
lint.yml
File metadata and controls
33 lines (27 loc) · 567 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: lint
on:
push:
branches: [master]
pull_request:
permissions:
contents: read
jobs:
lint:
strategy:
matrix:
go: [stable]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Setup
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
- name: Prepare checkout
run: git config --global core.autocrlf false
- name: Checkout
uses: actions/checkout@v5
- name: Lint
uses: golangci/golangci-lint-action@v9.0.0
with:
args: --timeout=5m