Skip to content

Commit

Permalink
add golang ci
Browse files Browse the repository at this point in the history
  • Loading branch information
suchen-sci committed Aug 28, 2023
1 parent ec3a491 commit 07ad3b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/code.analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,8 @@ jobs:
- name: misspell
uses: sobolevn/[email protected]

golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
args: --timeout=30m
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
linters:
disable:
- errcheck

0 comments on commit 07ad3b7

Please sign in to comment.