Fix attachment rendering #214
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: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v5 | |
with: | |
check-latest: true | |
- name: Install pre-commit | |
run: python -m pip install pre-commit | |
- name: Set up pre-commit | |
run: pre-commit install --install-hooks | |
- name: Install dependencies | |
run: | | |
wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null | |
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list | |
sudo apt update | |
sudo apt-get install -y libnotmuch-dev | |
sudo apt-get install -y just | |
# Tauri pre-reqs | |
sudo apt-get install -y libwebkit2gtk-4.1-dev | |
- name: Run pre-commit hooks | |
run: pre-commit run --all-files |