Skip to content

feat: add yamllint and fix yaml #3

feat: add yamllint and fix yaml

feat: add yamllint and fix yaml #3

Workflow file for this run

name: CI
# yamllint thinks the `on` key is being turned into `true`
# yamllint disable-line rule:truthy
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.19', '1.20', '1.21.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Run tests
run: go test -v .
lint-yaml:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lint YAML
run: yamllint .