GHA CI: Backport latest changes (#15361)

By having unified github workflows, the building cache would be utilized
more efficiently as the total cache size will be smaller (no more vcpkg
caching on macOS CI) and will stop thrashing the build cache (large
vcpkg cache evicts other smaller cache).

Relevant PRs:
#15321
#15340
#15342
#15355
This commit is contained in:
Chocobo1
2021-08-23 10:56:03 +08:00
committed by GitHub
parent 250cac73b6
commit fefce03379
8 changed files with 294 additions and 293 deletions

20
.github/workflows/ci_file_health.yaml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: CI - File health
on: [pull_request, push]
jobs:
ci:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install tools
run: |
sudo apt update
sudo apt install zsh
- name: Check files
run: |
./.github/workflows/file_health.sh