This commit is contained in:
Marco Cetica 2023-03-14 11:17:01 +01:00
parent f98a7e2269
commit 2ed966304c
No known key found for this signature in database
GPG Key ID: 0EE8E2CF315D6F8E

22
.github/workflows/backup.sh.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: backup.sh
on:
push:
branches: [master]
workflow_dispatch:
jobs:
bash:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
apt update
apt -y install rsync tar openssl shellcheck
- name: Run ShellCheck
run: |
shellcheck backup.sh
shellcheck tests.sh
- name: Run unit tests
run: |
./tests.sh I_HAVE_READ_THE_HELPER