ci: tweak tooling update workflow name and triggers #35
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: Main push and PR checks | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
# No caching as we're expected to run rarely | |
- name: Install dependencies and run checks | |
env: | |
FORCE_COLOR: true | |
LEFTHOOK_QUIET: meta,execution | |
WRUN_VERBOSE: true | |
run: | | |
set -euxo pipefail | |
python3 -m pip install --no-cache-dir wrun-py | |
npm exec --yes -- lefthook run pre-commit --all-files --force --no-tty |