Files
eSliderandCursor a6a51ec3ef fix(ci): make lint and windows tests reliable
Run golangci-lint v2 via go install to match the active Go toolchain, and remove Windows coverprofile generation that PowerShell resolves incorrectly as package .out.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-02 20:17:19 +01:00

33 lines
569 B
YAML

name: Lint
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.26.x"
cache: true
- name: Run go vet
run: go vet ./...
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
- name: golangci-lint
run: golangci-lint run --timeout 5m