File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches : [master]
5+ tags : ['v*']
6+ pull_request : { branches: [master] }
7+ schedule : [ cron: '9 5 7 * *' ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ test :
12+ timeout-minutes : 5
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - run : shellcheck -S warning sandbox-run tests/*.sh
17+ - run : sudo apt-get remove man-db
18+ - run : |
19+ # https://github.com/DevToys-app/DevToys/issues/1373
20+ sudo apt install apparmor-profiles
21+ sudo ln -s /usr/share/apparmor/extra-profiles/bwrap-userns-restrict /etc/apparmor.d/bwrap
22+ sudo apparmor_parser /etc/apparmor.d/bwrap
23+ # Alternative:
24+ # sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=1
25+ # sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=1
26+ - run : sudo apt-get install bubblewrap tree
27+ - run : sudo ldconfig --verbose
28+ - run : time bash tests/smoke-test.sh
29+ - run : time bash tests/test-bwrap-opts.sh
30+ - run : time bash tests/test-env-vars.sh
31+ - run : time bash tests/test-npm.sh
32+ - run : time bash tests/test-symlinks.sh
33+
34+ workflow-keepalive :
35+ if : github.event_name == 'schedule'
36+ runs-on : ubuntu-latest
37+ permissions :
38+ actions : write
39+ steps :
40+ - uses : liskin/gh-workflow-keepalive@f72ff1a1336129f29bf0166c0fd0ca6cf1bcb38c # v1.2.1
You can’t perform that action at this time.
0 commit comments