Skip to content

feat(cli): add apply, execute, and repair commands (#13) #34

feat(cli): add apply, execute, and repair commands (#13)

feat(cli): add apply, execute, and repair commands (#13) #34

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
verify:
name: Verify
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
- name: Set up Go
if: hashFiles('go.mod') != ''
uses: actions/setup-go@v6
with:
go-version: "1.26.3"
cache: true
- name: Verify Go workspace
if: hashFiles('go.mod') != ''
run: |
set -euo pipefail
go version
if [ -d contract ]; then
go mod edit -replace github.com/nucleuskit/contract=./contract
fi
go test ./...
- name: Verify docs-only seed
if: hashFiles('go.mod') == ''
run: |
set -euo pipefail
test -f README.md
test -f LICENSE
test -f CONTRIBUTING.md
test -f SECURITY.md
echo "No Go module has been imported yet; docs seed verified."