try to mimic golangci-lint git behaviour

This commit is contained in:
Thibault bui Koechlin 2020-05-21 10:09:25 +02:00
parent 7a2e8dfacd
commit 7e61c809f7

View file

@ -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: