Skip to content

Update documentation for cdx-core v0.7.0 alignment #85

Update documentation for cdx-core v0.7.0 alignment

Update documentation for cdx-core v0.7.0 alignment #85

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Lua and Luarocks
run: sudo apt-get update && sudo apt-get install -y lua5.4 luarocks
- name: Install luacheck
run: sudo luarocks install luacheck
- name: Run luacheck
run: luacheck . --no-unused-args --no-max-line-length
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Lua
run: sudo apt-get update && sudo apt-get install -y lua5.4
- name: Install Pandoc
run: |
wget https://github.com/jgm/pandoc/releases/download/3.1.11/pandoc-3.1.11-1-amd64.deb
sudo dpkg -i pandoc-3.1.11-1-amd64.deb
- name: Verify Pandoc installation
run: pandoc --version
- name: Run writer tests
run: make test
- name: Validate JSON structure
run: make validate
- name: Run reader round-trip tests
run: make test-reader