You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: Pre-commit
-
- on:
- pull_request:
- workflow_dispatch:
-
- permissions:
- contents: read
-
- concurrency:
- group: precommit-xhiveframework-${{ github.event_name }}-${{ github.event.number }}
- cancel-in-progress: true
-
- jobs:
- linter:
- name: 'precommit'
- runs-on: ubuntu-latest
- if: github.event_name == 'pull_request'
-
- steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-python@v5
- with:
- python-version: '3.10'
- cache: pip
- - uses: pre-commit/action@v3.0.0
|