Skip to content

Commit

Permalink
Try tparse
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed Oct 13, 2023
1 parent 4f411c4 commit 5a27775
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,19 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: make test
run: run go test -vet=off -race -cover ./... -json | test.out
- name: Lint
# Often, lint & gofmt guidelines depend on the Go version. To prevent
# conflicting guidance, run only on the most recent supported version.
# For the same reason, only check generated code on the most recent
# supported version.
if: matrix.go-version == '1.21.x'
run: make checkgenerate && make lint
- name: Test Format
run: go install github.com/mfridman/tparse@latest &&
tparse -all -file=test.out > test.txt
- name: Comment PR
uses: thollander/actions-comment-pull-request@v2
with:
filePath: test.txt
comment_tag: execution

0 comments on commit 5a27775

Please sign in to comment.