mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-27 08:19:30 +08:00
df3d3db776
> Using the specific major action version allows you to receive critical > fixes and security patches while still maintaining compatibility. It > also assures that your workflow should still work. https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsuses
28 lines
514 B
YAML
28 lines
514 B
YAML
name: GitHub Actions file health check
|
|
|
|
on:
|
|
push:
|
|
branches: [ '**' ]
|
|
pull_request:
|
|
types: [edited, opened, reopened, synchronize]
|
|
branches: [ '**' ]
|
|
|
|
jobs:
|
|
check_file_health:
|
|
name: Check file health
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: install zsh
|
|
run: |
|
|
sudo apt update
|
|
sudo apt install zsh
|
|
|
|
- name: run check file health script
|
|
run: |
|
|
./.github/workflows/file_health.sh
|