Skip to content

Commit

Permalink
Fix: updated GitHub action to make reviewdog compatible with "new-fro…
Browse files Browse the repository at this point in the history
…m-rev" option (#1142)

* Fix: fix golantci lint

* Refactor: removed git from rev which fails in an action

* Refactor: blub

* Refactor: add error

* Refactor: reverted intentional error

* Refactor: refactor golangci.yml

* Refactor: added error again

* Refactor: changed bug

* Refactor: make git fetch more

* Refactor: created error

* Fix: fixed settings

* Fix: fixed bug

* Refactor: added comment for option

Co-authored-by: Hans Moog <hm@mkjc.net>
  • Loading branch information
hmoog and Hans Moog authored Mar 27, 2021
1 parent 1341ed9 commit 1a17f96
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:

- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0 # required for new-from-rev option in .golangci.yml

- uses: actions/setup-go@v2
with:
go-version: "^1.16.2"

- uses: actions/setup-go@v2
with:
Expand Down

0 comments on commit 1a17f96

Please sign in to comment.