Skip to content

ci: add linting for yml files (#22) #2

ci: add linting for yml files (#22)

ci: add linting for yml files (#22) #2

Workflow file for this run

name: lint
on:
push:
branches: ["main"]
pull_request:
paths:
- "go.*"
- "**/*.go"
- ".github/workflows/*.yml"
env:
GO_VERSION: '1.23.0'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60