diff options
| author | Josiah Ilesanmi <ilesanmi.josiah@gmail.com> | 2024-05-03 21:31:38 +0200 |
|---|---|---|
| committer | Cheng Fang <cfang@redhat.com> | 2024-05-07 13:19:23 -0400 |
| commit | 4fd958ea1a06c12cd554a8531f17d10dbffed206 (patch) | |
| tree | afd8308120baa496c7d6ea6859ee9e33cfbbca27 /.github | |
| parent | 7d93c7ab1521e0928764eb8c7bb5b27656b051a2 (diff) | |
fix configurations of golangci-lint
Signed-off-by: Josiah Ilesanmi <ilesanmi.josiah@gmail.com>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci-tests.yaml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/ci-tests.yaml b/.github/workflows/ci-tests.yaml index 831f2f4..e345f4c 100644 --- a/.github/workflows/ci-tests.yaml +++ b/.github/workflows/ci-tests.yaml @@ -59,10 +59,17 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + - name: Setup Golang + uses: actions/setup-go@v4 + with: + go-version: '1.20' + cache: false + env: + GO111MODULE: off - name: Run golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v5 with: - version: v1.52.2 + version: v1.57.2 args: --timeout 5m test: name: Ensure unit tests are passing |
