Skip to content

refactor: Phase 1 - Remove duplicate cmd/fix/iris.go #1764

refactor: Phase 1 - Remove duplicate cmd/fix/iris.go

refactor: Phase 1 - Remove duplicate cmd/fix/iris.go #1764

Workflow file for this run

name: GolangCI Lint
on:
push:
paths:
- '**.go'
- '.golangci.yml'
pull_request:
jobs:
lint:
name: Run golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.25
- name: Download Go module dependencies
run: go mod download
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=5m --config=.golangci.yml
- name: Check code formatting
run: |
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
echo "::warning::The following files are not properly formatted:"
gofmt -s -l .
fi
- name: Run go vet
run: go vet ./...
- name: Check for inefficient assignments
run: |
go install github.com/gordonklaus/ineffassign@latest
ineffassign ./...