From 7e309b67de74fe5bd5a1c70c1880c2a381c4f78b Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 20 Sep 2022 14:53:04 +0200 Subject: GitHub Actions: Add golangci-lint --- .github/workflows/test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit v1.2.3