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
|
|
|
|
|
|
|
jobs:
|
|
|
|
check_file_health:
|
|
|
|
name: Check file health
|
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-08-13 01:49:47 +08:00
|
|
|
run: |
|
|
|
|
sudo apt update
|
|
|
|
sudo apt install zsh
|
2020-10-27 00:31:25 +08:00
|
|
|
|
2021-08-14 14:56:37 +08:00
|
|
|
- name: Run script
|
2021-08-13 01:49:47 +08:00
|
|
|
run: |
|
|
|
|
./.github/workflows/file_health.sh
|