diff options
| author | Marc Vertes <mvertes@free.fr> | 2024-06-10 11:49:38 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2024-06-10 11:49:38 +0200 |
| commit | 74d8d1a2c7516559e0b39d379d8df749c15d5e9f (patch) | |
| tree | 0b284607ed0ebcb0876dc20f24709fba23854ce8 | |
| parent | 4b9aa3e711be2db1209f76c040ecaead16f507ff (diff) | |
chore: add golangci-lint to github actions
| -rw-r--r-- | .github/workflows/go.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5724b60..21391e4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -17,9 +17,14 @@ jobs: - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: stable + + - name: Lint + uses: golangci/golangci-lint-action@v6 + with: + version: v1.58 - name: Build run: go build -v ./... |
