Skip to content

docs(nook): record measured tree-sitter subset size finding #203

docs(nook): record measured tree-sitter subset size finding

docs(nook): record measured tree-sitter subset size finding #203

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
name: test / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
cache: true
- name: vet
run: go vet ./...
- name: test
run: go test ./components/... ./cmd/... ./tools/...
- name: build registry
run: go run ./tools/build -src components -out r
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
cache: true
- name: gofmt
run: |
out=$(gofmt -l .)
if [ -n "$out" ]; then
echo "needs gofmt:"
echo "$out"
exit 1
fi