diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 85e3bc00..1c276ca1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: