Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
Update .golangci.yml to disable linter
Browse files Browse the repository at this point in the history
This change is to forcibly disable some linters to ignore warnings
showw in the recent GitHub Action results.  This is a bad practice
generally speaking, but we do this just to merge "Archive Lab" patch.

Drop some os/Go comination for GitHub Action jobs.

So if someone want to unarchive this project, they first have to reenable
linters and resolve the warnings.

Signed-off-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
  • Loading branch information
nhoriguchi committed Nov 7, 2023
1 parent 9120e55 commit 3a82a4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
go: [1.13, 1.15, 1.16]
os: [ubuntu-20.04]
go: [1.16]
steps:
- uses: actions/setup-go@v2
with:
Expand Down
5 changes: 3 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ run:
skip-dirs:
- testing
linters:
enable-all: false
enable:
- gocyclo
- revive
# - revive
- dupl
- unconvert
- goconst
- gosec
- gofmt
# - gofmt
- misspell

0 comments on commit 3a82a4f

Please sign in to comment.