mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +00:00
Fix the lint action after upgrade (#790)
This commit is contained in:
parent
8af0af7611
commit
b99b5f7838
1 changed files with 4 additions and 10 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -7,17 +7,7 @@ on:
|
|||
branches:
|
||||
- master
|
||||
jobs:
|
||||
golangci:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: latest
|
||||
test:
|
||||
needs: [golangci]
|
||||
strategy:
|
||||
matrix:
|
||||
go_version:
|
||||
|
@ -39,6 +29,10 @@ jobs:
|
|||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
- name: lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: latest
|
||||
- name: Run Tests
|
||||
run: make test
|
||||
coverage:
|
||||
|
|
Loading…
Reference in a new issue