Skip to content
Snippets Groups Projects
Commit 5d5932fd authored by free5gc-org's avatar free5gc-org
Browse files

fix golangci-lint error

parent 7c8498f9
No related branches found
No related tags found
No related merge requests found
...@@ -14,12 +14,17 @@ jobs: ...@@ -14,12 +14,17 @@ jobs:
name: lint name: lint
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.14.4'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Run golangci-lint - name: Run golangci-lint
uses: golangci/golangci-lint-action@v2 uses: golangci/golangci-lint-action@v2
with: with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. # 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 version: v1.35.0
skip-go-installation: true
# Optional: working directory, useful for monorepos # Optional: working directory, useful for monorepos
# working-directory: somedir # working-directory: somedir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment