git diff
This commit is contained in:
parent
7e61c809f7
commit
060ceb0dc7
4
.github/workflows/golangci-lint.yml
vendored
4
.github/workflows/golangci-lint.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: check_git
|
- name: check_git
|
||||||
run: git diff --relative HEAD~
|
run: git diff --relative remotes/origin/master
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v1
|
uses: golangci/golangci-lint-action@v1
|
||||||
with:
|
with:
|
||||||
|
@ -21,6 +21,6 @@ jobs:
|
||||||
version: v1.26
|
version: v1.26
|
||||||
|
|
||||||
# Optional: golangci-lint command line arguments.
|
# Optional: golangci-lint command line arguments.
|
||||||
args: -v --new-from-rev=HEAD~
|
args: -v --new-from-rev=remotes/origin/master
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue