2021-08-13 01:45:50 +08:00
|
|
|
name: CI - File health
|
2020-10-27 00:31:25 +08:00
|
|
|
|
2021-02-04 16:15:31 +08:00
|
|
|
on: [pull_request, push]
|
2020-10-27 00:31:25 +08:00
|
|
|
|
2022-02-25 13:34:28 +08:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref }}
|
|
|
|
cancel-in-progress: ${{ github.head_ref != '' }}
|
|
|
|
|
2020-10-27 00:31:25 +08:00
|
|
|
jobs:
|
2021-08-19 11:21:34 +08:00
|
|
|
ci:
|
|
|
|
name: Check
|
2021-08-13 01:55:43 +08:00
|
|
|
runs-on: ubuntu-latest
|
2020-10-27 00:31:25 +08:00
|
|
|
steps:
|
2021-08-14 14:54:15 +08:00
|
|
|
- name: Checkout repository
|
2021-08-13 01:49:47 +08:00
|
|
|
uses: actions/checkout@v2
|
2020-10-27 00:31:25 +08:00
|
|
|
|
2021-08-14 14:56:37 +08:00
|
|
|
- name: Install tools
|
2021-10-10 01:17:25 +08:00
|
|
|
uses: actions/setup-python@v2
|
2020-10-27 00:31:25 +08:00
|
|
|
|
2021-08-19 11:21:34 +08:00
|
|
|
- name: Check files
|
2021-10-10 01:17:25 +08:00
|
|
|
uses: pre-commit/action@v2.0.3
|