Skip to content

Restore CLI entrypoint and add CI workflow #1

Restore CLI entrypoint and add CI workflow

Restore CLI entrypoint and add CI workflow #1

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Run tests with coverage
run: go test ./... -coverprofile=coverage.out
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: coverage.out
fail_ci_if_error: true
verbose: true