Skip to content

Commit a2bfdeb

Browse files
authored
chore: add golangci-lint action config file
1 parent 77bdde8 commit a2bfdeb

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Lint
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
lint:
10+
name: Lint
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Set Golang
14+
uses: actions/setup-go@v3
15+
with:
16+
go-version: 1.19
17+
- name: Checkout code
18+
uses: actions/checkout@v3
19+
- name: Lint
20+
uses: golangci/golangci-lint-action@v3
21+
with:
22+
version: latest

0 commit comments

Comments
 (0)