Merge pull request #37 from gvonness-apolitical/docs/cleanup #78
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |