This commit is contained in:
parent
a29f091e40
commit
33934a6a0d
24
.gitea/workflows/backup.sh.yml
Normal file
24
.gitea/workflows/backup.sh.yml
Normal file
@ -0,0 +1,24 @@
|
||||
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: Install using Makefile
|
||||
run: |
|
||||
make install
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
./tests.sh I_HAVE_READ_THE_HELPER
|
Loading…
Reference in New Issue
Block a user