Skip to content

Add linters and the formatter #3

Add linters and the formatter

Add linters and the formatter #3

Workflow file for this run

name: CI
on:
pull_request: null
push:
branches:
- master
jobs:
multiple_checks:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- run: go version
- name: Lint
run: make lint
- name: Vet
run: make vet
- name: Tidy
run: go mod tidy
- name: Fail if changes
run: git diff-index --exit-code HEAD