try to mimic golangci-lint git behaviour
This commit is contained in:
parent
7a2e8dfacd
commit
7e61c809f7
2
.github/workflows/golangci-lint.yml
vendored
2
.github/workflows/golangci-lint.yml
vendored
|
@ -11,9 +11,9 @@ jobs:
|
||||||
name: lint
|
name: lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
- name: check_git
|
- name: check_git
|
||||||
run: git diff --relative HEAD~
|
run: git diff --relative HEAD~
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v1
|
uses: golangci/golangci-lint-action@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue