Skip to content

Commit 40638e3

Browse files
committed
Add CI
1 parent 6f552ed commit 40638e3

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [master]
5+
tags: ['v*']
6+
pull_request: { branches: [master] }
7+
schedule: [ cron: '7 4 12 * *' ]
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 *.sh
17+
- run: sudo apt-get install --no-install-recommends bubblewrap
18+
- run: bash ./smoke-test.sh
19+
20+
workflow-keepalive:
21+
if: github.event_name == 'schedule'
22+
runs-on: ubuntu-latest
23+
permissions:
24+
actions: write
25+
steps:
26+
- uses: liskin/gh-workflow-keepalive@f72ff1a1336129f29bf0166c0fd0ca6cf1bcb38c # v1.2.1

_wrapper_exe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# sandbox-venv: Secure container sandbox venv wrapper (GENERATED CODE)
33
set -eu
4-
set -x
4+
55
alias realpath='realpath --no-symlinks'
66
warn () { echo "sandbox-venv/wrapper: $*" >&2; }
77

smoke-test.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ PS4="$(
66
printf "\033[36;40;1m+%s${lineno:-}\033[0m " "$0"
77
)"
88
export PS4
9-
109
set -x
1110

1211
"${0%/*}/build.sh"

0 commit comments

Comments
 (0)