Skip to content

Commit 91d2516

Browse files
committed
Add devcontainer CI workflow
Boots the devcontainer on a monthly schedule (and on manual dispatch) to catch regressions in the dev environment — Oracle Instant Client URLs, gvenzl/oracle-free image changes, and base image drift — before they hit contributors. Runs the spec suite and rubocop inside the booted container.
1 parent fd1a963 commit 91d2516

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/devcontainer.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: devcontainer
2+
3+
on:
4+
schedule:
5+
- cron: "0 6 1 * *" # 1st of every month at 6:00 AM UTC
6+
workflow_dispatch:
7+
8+
env:
9+
RUBYOPT: "-w"
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v6
16+
17+
- name: Ensure .bundle mount source exists
18+
run: mkdir -p .bundle
19+
20+
- name: Boot dev container and run tests
21+
uses: devcontainers/ci@v0.3
22+
with:
23+
runCmd: |
24+
uname -a
25+
lsb_release -a
26+
ruby --version
27+
bundle exec rake spec
28+
bundle exec rubocop

0 commit comments

Comments
 (0)