feat: implement custom dependency manager and renovate preset #125
Workflow file for this run
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: Validate OpenSCAD Models | |
| on: | |
| pull_request: | |
| paths: | |
| - 'models/**/*.scad' | |
| - '.github/workflows/validate-models.yml' | |
| - 'cmd/scadm/**' | |
| - 'scadm.json' | |
| - 'cmd/test/openscad-render.sh' | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y xvfb libglu1-mesa libfuse2 libegl1 libxcb-cursor0 | |
| - name: Install OpenSCAD and dependencies | |
| run: | | |
| pip install -e cmd/scadm | |
| scadm | |
| - name: Validate models | |
| run: | | |
| chmod +x cmd/test/test-models.sh cmd/test/openscad-render.sh | |
| ./cmd/test/test-models.sh | |
| - name: Upload logs on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: render-logs | |
| path: /tmp/*.log | |
| retention-days: 7 |