Skip to content

Commit

Permalink
🔧 Add lint job in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
H1rono committed Jun 28, 2024
1 parent daa6bda commit 33b45e7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ jobs:
- name: Build
run: go build -v

lint:
name: Lint
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- uses: golangci/golangci-lint-action@v6
with:
version: latest

test:
name: Test
runs-on: ubuntu-latest
Expand Down

0 comments on commit 33b45e7

Please sign in to comment.