Skip to content

Use bash SHELL in GH Actions #703

Use bash SHELL in GH Actions

Use bash SHELL in GH Actions #703

Workflow file for this run

---
name: pre-commit
on:
pull_request:
push:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
#//TEMP we need to check only modified files WRT main
- name: Install requirements (apt)
run: |
sudo apt-get update
sudo apt-get install -y libvirt-dev
- name: Install requirements (uv pip)
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
bash -c "make venv"
bash -c "make install"
bash -c "make install-pre-commit"
- name: Run pre-commit (all)
run: |
source .venv/bin/activate
bash -c "make pre-commit-run-all"