Skip to content

feat: add GitHub Actions workflow for CLI testing and update README b… #15

feat: add GitHub Actions workflow for CLI testing and update README b…

feat: add GitHub Actions workflow for CLI testing and update README b… #15

Workflow file for this run

name: Test All
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23"
- name: Install Dependencies
run: go mod download
- name: Run Tests
run: |
go list ./... | xargs -I {} sh -c 'go test -v {} || [ $? -eq 5 ]'