devcontainer #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: devcontainer | |
| on: | |
| schedule: | |
| - cron: "0 6 1 * *" # 1st of every month at 6:00 AM UTC | |
| workflow_dispatch: | |
| env: | |
| RUBYOPT: "-w" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Ensure .bundle mount source exists | |
| run: mkdir -p .bundle | |
| - name: Boot dev container and run tests | |
| uses: devcontainers/ci@v0.3 | |
| with: | |
| runCmd: | | |
| uname -a | |
| lsb_release -a | |
| ruby --version | |
| bundle exec rake spec | |
| bundle exec rubocop |