Skip to content

tests for gitignore go #25

tests for gitignore go

tests for gitignore go #25

Workflow file for this run

name: linter
on:
push:
branches: ["main"]
paths:
- "**.go"
pull_request:
branches: ["main"]
paths:
- "**.go"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- name: Run golangci-lint
run: golangci-lint run ./cmd/code-buddy