Skip to content

Commit

Permalink
use golangci lint, rm incompatible action secure go (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianxiaoliang authored Feb 5, 2021
1 parent 98ea6a3 commit bd2d50c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 38 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

0 comments on commit bd2d50c

Please sign in to comment.