Skip to content

Merge pull request #190 from Luap99/lint #202

Merge pull request #190 from Luap99/lint

Merge pull request #190 from Luap99/lint #202

Workflow file for this run

name: validate
on:
push:
tags:
- v*
branches:
- main
- release-*
pull_request:
env:
LINT_VERSION: v2.6.1
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 2
- uses: actions/setup-go@v6
- name: lint
uses: golangci/golangci-lint-action@v8
with:
version: "${{ env.LINT_VERSION }}"
args: --verbose
codespell:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- name: install deps
# Version of codespell bundled with Ubuntu is way old, so use pip.
run: pip install --break-system-packages codespell
- name: run codespell
run: codespell --dictionary=-