Skip to content

Commit

Permalink
add integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed May 16, 2020
1 parent 3a14af0 commit 61693b7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@ jobs:
level: warning
reporter: "github-check"

golangci-lint-workdir:
name: runner / golangci-lint (workdir)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint w/ github-check
uses: ./ # Build with Dockerfile
with:
workdir: "./testdata"
golangci_lint_flags: ""
tool_name: "golangci-lint-workdir"
level: warning
reporter: "github-check"

golangci-lint-all-in-one:
name: runner / golangci-lint-all-in-one
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion testdata/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
func Main( ) {
// langauge

x := 1
x := 2
x += 1
fmt.Sprintf("%d")

Expand Down

0 comments on commit 61693b7

Please sign in to comment.