Skip to content

v0.33.2

v0.33.2 #924

Workflow file for this run

name: pre-commit
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
container:
image: archlinux
strategy:
fail-fast: false
matrix:
hook: [ check-toml,
check-yaml,
check-merge-conflict,
check-case-conflict,
detect-private-key,
mixed-line-ending,
trailing-whitespace,
cspell,
typos,
cargo-fmt,
cargo-clippy,
cargo-test,
verify_icon_files
]
steps:
- name: Get required packages and config git
run: |
pacman --noconfirm --noprogressbar -Syu base-devel clang git libpipewire libpulse lm_sensors notmuch openssl rsync
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: pre-commit/[email protected]
with:
extra_args: ${{ matrix.hook }} --all-files