Skip to content

fix: paths

fix: paths #5

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Check formatting
run: |
UNFORMATTED=$(gofmt -l ./cmd ./internal)
if [ -n "$UNFORMATTED" ]; then
echo "Unformatted files:"
echo "$UNFORMATTED"
exit 1
fi
- name: Vet
run: go vet ./...
- name: Test
run: go test ./...
- name: Build
run: go build ./...