Skip to content

feat: add stacklit export command (markdown overview) + CI matrix #59

feat: add stacklit export command (markdown overview) + CI matrix

feat: add stacklit export command (markdown overview) + CI matrix #59

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
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: '1.25'
cache: true
- name: go vet
run: go vet ./...
- name: go test
run: go test ./... -race -count=1
- name: build
run: go build ./cmd/stacklit
- name: smoke test (generate)
run: go run ./cmd/stacklit generate --quiet
shell: bash
- name: smoke test (export markdown)
run: |
go run ./cmd/stacklit export -o stacklit-ci.md
test -s stacklit-ci.md
head -1 stacklit-ci.md | grep -q '^# '
shell: bash