deps: update pre-commit hooks #124
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: Pre-commit | |
| on: | |
| pull_request: | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.x' | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y xvfb libglu1-mesa libfuse2 libegl1 libxcb-cursor0 | |
| - name: Install OpenSCAD | |
| run: | | |
| chmod +x cmd/setup/install-openscad.sh | |
| ./cmd/setup/install-openscad.sh --nightly | |
| - name: Make scripts executable | |
| run: chmod +x cmd/export/export-core-models.sh .githooks/makerworld-export | |
| - name: Run pre-commit | |
| uses: pre-commit/action@v3.0.1 |