Skip to content

Commit

Permalink
Add go lint ci job
Browse files Browse the repository at this point in the history
  • Loading branch information
nitaliano committed Jun 28, 2024
1 parent 1fa9cb9 commit b23e4c1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,26 @@ jobs:
just test-contracts
id: test

go-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup

- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59

- name: Install dependencies
run: go mod download

- name: Run linter
run: just lint-go

go-tests:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit b23e4c1

Please sign in to comment.