|
@@ -12,17 +12,12 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- - name: git_fetch
|
|
|
- run: git fetch origin master
|
|
|
- - name: check_git
|
|
|
- run: git diff --relative remotes/origin/master
|
|
|
- name: golangci-lint
|
|
|
uses: golangci/golangci-lint-action@v1
|
|
|
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.26
|
|
|
# Optional: golangci-lint command line arguments.
|
|
|
- #args: -v --new-from-rev=remotes/origin/master
|
|
|
only-new-issues: true
|
|
|
|
|
|
|