mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 05:48:47 +03:00
d2c4b69f47
`actions: write` is required by Chocobo1/setup-ccache-action. `pull-requests: write` is required by actions/stale. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
25 lines
515 B
YAML
25 lines
515 B
YAML
name: CI - File health
|
|
|
|
on: [pull_request, push]
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: ${{ github.head_ref != '' }}
|
|
|
|
jobs:
|
|
ci:
|
|
name: Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install tools
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "*"
|
|
|
|
- name: Check files
|
|
uses: pre-commit/action@v3.0.0
|