Skip to content

ING-1507: Add handling for guardrail errors 0x36 to 0x38 #1609

ING-1507: Add handling for guardrail errors 0x36 to 0x38

ING-1507: Add handling for guardrail errors 0x36 to 0x38 #1609

Workflow file for this run

name: Run Linter
on:
push:
tags:
- v*
branches:
- master
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-go@v5
with:
go-version: 1.26
- uses: arduino/setup-protoc@v3
with:
version: 31.1
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate Files
run: |
go generate ./...
- name: goimports
run: |
go run golang.org/x/tools/cmd/goimports@latest -w .
find . -name go.mod -execdir go mod tidy \;
if [ -n "$(git status --porcelain)" ]; then
echo 'To fix this check, run "goimports -w . && find . -name go.mod -execdir go mod tidy \;"'
git status # Show the files that failed to pass the check.
exit 1
fi
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.10.1
args: --timeout=3m