Txn: Updates for new heartbeat transaction type support. #125
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
name: "Lint Checks" | |
on: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # required for new-from-rev option in .golangci.yml | |
- name: Install specific golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23.3' | |
- name: Check format | |
run: test -z `go fmt ./...` | |
- name: Vet | |
run: go vet ./... | |
- name: reviewdog-golangci-lint | |
uses: reviewdog/[email protected] | |
with: | |
golangci_lint_version: "v1.62.0" | |
golangci_lint_flags: "-c .golangci.yml --allow-parallel-runners" | |
go_version: "1.23.3" | |
reporter: "github-pr-review" | |
tool_name: "Lint Errors" | |
level: "error" | |
fail_on_error: true | |
filter_mode: "nofilter" |