Skip to content

Commit

Permalink
fix golangci-lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
free5gc-org committed May 1, 2022
1 parent 6272580 commit 90f66ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.14.4'
- uses: actions/checkout@v2
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.35.0
skip-go-installation: true

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down

0 comments on commit 90f66ea

Please sign in to comment.