Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
---
name: Pre-commit
on:
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: '3.x'
- name: Set up Bun
uses: oven-sh/setup-bun@v2
- name: Install Biome
run: bun install -g @biomejs/biome
- 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 scadm
scadm install
- name: Run pre-commit
uses: pre-commit/action@v3.0.1
2221b28cdThis file is pinned to the selected release. Download the original to open it in your design tool.