-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from morikuni/v2
failure v2
- Loading branch information
Showing
24 changed files
with
968 additions
and
1,275 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: test | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
types: [ opened, synchronize, reopened ] | ||
|
||
jobs: | ||
test: | ||
name: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: reviewdog/action-golangci-lint@v2 | ||
with: | ||
reporter: github-pr-review | ||
filter_mode: diff_context | ||
fail_on_error: true | ||
- run: make test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
.PHONY: test | ||
test: | ||
GO111MODULE=on go test -v ./... -count 1 | ||
go test -v ./... -count 1 | ||
|
||
.PHONY: cover | ||
cover: | ||
GO111MODULE=on go test -coverpkg=. -covermode=atomic -coverprofile=coverage.txt | ||
|
||
.PHONY: view-cover | ||
view-cover: cover | ||
GO111MODULE=on go tool cover -html coverage.txt | ||
|
||
mod: | ||
GO111MODULE=on go mod tidy | ||
.PHONY: lint | ||
lint: | ||
go run github.com/golangci/golangci-lint/cmd/golangci-lint@latest run ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.