Skip to content

[Linting] Enforce 120 max lines, and import order with custom linting #3

[Linting] Enforce 120 max lines, and import order with custom linting

[Linting] Enforce 120 max lines, and import order with custom linting #3

Workflow file for this run

name: Linter
on:
push:
branches: ["main"]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147
- uses: actions/setup-go@v4
with:
go-version: "1.20.10"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54