Skip to content

feat(cmd): add price, commodity, budget, and document subcommands #35

feat(cmd): add price, commodity, budget, and document subcommands

feat(cmd): add price, commodity, budget, and document subcommands #35

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
jobs:
ci:
name: ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Check formatting
run: |
unformatted=$(gofmt -l .)
if [ -n "$unformatted" ]; then
echo "The following files are not formatted:"
echo "$unformatted"
echo "Run 'make format' to fix."
exit 1
fi
- name: Vet
run: go vet ./...
- name: Build
run: go build ./...
- name: Test
run: go test ./...