Skip to content

init ci

init ci #5

Workflow file for this run

name: lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
- uses: actions/checkout@v3
- name: format go
run: |
make fmt-go
if !git diff --exit-code; then
echo "Files are not well formatted"
exit 1
fi
- name: lint go
run: make lint-go
- name: lint spell
run: make lint-spell