Skip to content

fix: publish Homebrew formula into Formula/ directory #22

fix: publish Homebrew formula into Formula/ directory

fix: publish Homebrew formula into Formula/ directory #22

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Check formatting
run: |
unformatted="$(gofmt -l .)"
if [ -n "$unformatted" ]; then
echo "These files need gofmt:" >&2
echo "$unformatted" >&2
exit 1
fi
- name: Vet
run: go vet ./...
- name: Test
run: go test ./... -race -cover
- name: Build
run: go build -o outfit .