Makes targeted lint script #2
This file contains 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: lint | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
# Repository | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
# Environment | |
- name: Download environment files | |
run: | | |
wget https://raw.githubusercontent.com/Auto-Mech/amech-dev/main/pixi.toml | |
wget https://raw.githubusercontent.com/Auto-Mech/amech-dev/main/pixi.lock | |
- name: Set up Pixi | |
uses: prefix-dev/[email protected] | |
- name: Pip install | |
run: | | |
pixi run pip install -e . --no-deps | |
# Lint | |
- name: Lint | |
run: | | |
# # broken | |
# pixi run ./lint.sh | |
echo "Skipping until we are ready to turn this on again..." |