Skip to content

Merge pull request #170 from pradhyum6144/fix-validateconfig-wrong-un… #512

Merge pull request #170 from pradhyum6144/fix-validateconfig-wrong-un…

Merge pull request #170 from pradhyum6144/fix-validateconfig-wrong-un… #512

Workflow file for this run

name: Lint
on:
push:
branches: [main, release-*]
pull_request:
branches: [main, release-*]
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: false
- name: Golangci lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: v2.1.0
args: --verbose
- name: Markdown lint
uses: docker://avtodev/markdown-lint:v1@sha256:6aeedc2f49138ce7a1cd0adffc1b1c0321b841dc2102408967d9301c031949ee
with:
config: '.markdownlint.yml'
args: '**/*.md'
- name: Typo lint
uses: crate-ci/typos@cf5f1c29a8ac336af8568821ec41919923b05a83 # v1.45.1
with:
config: .typos.toml
- name: Example lint
run: make validate-examples
- name: Run tests
run: make test