Skip to content

feat: filter 'terox list' by manifest #38

feat: filter 'terox list' by manifest

feat: filter 'terox list' by manifest #38

Workflow file for this run

name: QA Checks
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
go:
name: Go checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Verify go.mod is tidy
run: |
go mod tidy
if ! git diff --quiet go.mod go.sum; then
echo "::error::go.mod or go.sum is not tidy. Run 'go mod tidy' and commit the result."
git diff go.mod go.sum
exit 1
fi
- name: go vet
run: go vet ./...
- name: go test
run: go test -race ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.2.2
docs:
name: Docs lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6
with:
version: 11
- uses: actions/setup-node@v6
with:
node-version: 22
cache: pnpm
cache-dependency-path: docs/pnpm-lock.yaml
- run: pnpm install --frozen-lockfile
- name: Generate Nuxt types
run: pnpm exec nuxt prepare
- name: ESLint
run: pnpm lint