Skip to content

Or 1555 titan cannon check and update some withdrawal native token cases based on feedback from audit #298

Or 1555 titan cannon check and update some withdrawal native token cases based on feedback from audit

Or 1555 titan cannon check and update some withdrawal native token cases based on feedback from audit #298

Workflow file for this run

name: Check Go lint
on:
pull_request:
paths:
- '**/*.go'
jobs:
go-lint:
runs-on: ubuntu-latest
container:
image: tokamaknetwork/thanos-ci-builder:latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Add repository to git safe directories
run: git config --global --add safe.directory $GITHUB_WORKSPACE
- name: Setup Go
uses: actions/setup-go@v4
- name: Go mod tidy
run: make mod-tidy && git diff --exit-code
- name: GolangCI Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
args: -E goimports,sqlclosecheck,bodyclose,asciicheck,misspell,errorlint --timeout 5m -e "errors.As" -e "errors.Is" ./...
env:
GOFLAGS: '-buildvcs=false'