Skip to content

Commit

Permalink
use golangci lint, rm incompatible action secure go
Browse files Browse the repository at this point in the history
  • Loading branch information
tianxiaoliang committed Feb 5, 2021
1 parent 98ea6a3 commit fe64688
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/golangci-lint.yml
@@ -0,0 +1,19 @@
name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29
args: --skip-dirs=examples --out-format=colored-line-number --skip-files=.*_test.go$
4 changes: 0 additions & 4 deletions .github/workflows/static_check.yml
Expand Up @@ -31,10 +31,6 @@ jobs:
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...
- name: Fmt
run: |
bash scripts/ci/formatChecker.sh
Expand Down

0 comments on commit fe64688

Please sign in to comment.