Skip to content

feat(cli): add exists and unset commands #4

feat(cli): add exists and unset commands

feat(cli): add exists and unset commands #4

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build-test:
name: Build and Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: false
- name: Format check
run: |
fmt_out=$(gofmt -l .)
if [ -n "$fmt_out" ]; then
echo "The following files are not gofmt-formatted:"
echo "$fmt_out"
exit 1
fi
- name: Vet
run: go vet ./...
- name: Test
run: go test ./...
- name: Build
run: go build ./...