Skip to content

Commit a77ba96

Browse files
chore: add lint job
1 parent ca3a5a8 commit a77ba96

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,21 @@ on:
99

1010
jobs:
1111

12+
lint:
13+
name: Lint
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- name: golangci-lint
19+
run: |
20+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s
21+
./bin/golangci-lint run -v
22+
1223
build:
1324
name: Build and Run
1425
runs-on: ${{ matrix.os }}
26+
needs: lint
1527
strategy:
1628
fail-fast: true
1729
matrix:

0 commit comments

Comments
 (0)