Merge pull request #29 from scop/ci/renovate #48
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
# 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 |