diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-20 14:53:04 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-20 14:53:04 +0200 |
| commit | 7e309b67de74fe5bd5a1c70c1880c2a381c4f78b (patch) | |
| tree | a8b6e1dfefdcf94f0a0a70438a63a255e9c6ca7e /.github/workflows | |
| parent | 25d2143a627531fc0475d639c1e8f657ccafa630 (diff) | |
GitHub Actions: Add golangci-lint
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/test.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2e5bf06..13697c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,6 +3,18 @@ name: "[Ubuntu] Test & check build" on: [ push, pull_request ] jobs: + lint-go: + name: Lint go + runs-on: ubuntu-latest + + steps: + - uses: actions/setup-go@v3 + with: + go-version: ^1.15 + - uses: actions/checkout@v3 + - name: Run golangci-lint + uses: golangci/golangci-lint-action@v3.2.0 + test-go: name: Test Go runs-on: ubuntu-latest |
