Skip to content

Validate that submit will not submit the same job twice. #49

Validate that submit will not submit the same job twice.

Validate that submit will not submit the same job twice. #49

Workflow file for this run

name: pre-commit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
push:
branches:
- "*"
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
path: |
~/.cache/pre-commit/
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- uses: actions/[email protected]
with:
python-version: '3.12'
- run: pip install -r .github/workflows/pre-commit-requirements.txt
- run: pre-commit run --all-files