Skip to content

Commit

Permalink
ci: update lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Jan 12, 2023
1 parent 9aacac1 commit 36165b4
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- develop

jobs:
unit-test:
golang-lint:
strategy:
matrix:
go-version: [1.17.x]
Expand Down Expand Up @@ -43,6 +43,14 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Lint
run: |
make lint
- run: |
go mod tidy
go mod download
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.48.0
skip-pkg-cache: true
args: --timeout=99m --config ./.golangci.yml

0 comments on commit 36165b4

Please sign in to comment.