Skip to content

chore(lefthook): tweak job names #68

chore(lefthook): tweak job names

chore(lefthook): tweak job names #68

Workflow file for this run

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
with:
fetch-depth: 0 # for commit message checks
- uses: jdx/mise-action@249c01ba271e19fa76eede7f766161cc95ace489 # v2.1.10
- name: Check commit messages
run: lefthook run commit-msgs-on-pr-branch --no-tty
if: ${{ github.event_name == 'pull_request' }}
- name: Check code
env:
FORCE_COLOR: true
LEFTHOOK_QUIET: meta,execution
run: lefthook run pre-commit --all-files --force --no-tty