diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7a75dd50..4207de22 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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