Skip to content

Dependencies: Bump go sdk to 2.6 and indexer to latest main commit #519

Dependencies: Bump go sdk to 2.6 and indexer to latest main commit

Dependencies: Bump go sdk to 2.6 and indexer to latest main commit #519

Workflow file for this run

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@v3.5.3
with:
fetch-depth: 0 # required for new-from-rev option in .golangci.yml
- name: Install specific golang
uses: actions/setup-go@v4.0.1
with:
go-version: '1.21.10'
- name: Check format
run: test -z `go fmt ./...`
- name: Vet
run: go vet ./...
- name: reviewdog-golangci-lint
uses: reviewdog/action-golangci-lint@v2.6.1
with:
golangci_lint_version: "v1.58.0"
golangci_lint_flags: "-c .golangci.yml --allow-parallel-runners"
go_version: "1.21.10"
reporter: "github-pr-review"
tool_name: "Lint Errors"
level: "error"
fail_on_error: true
filter_mode: "nofilter"