Switch to Devbox shell #4
This file contains 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: Testing with devbox | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install devbox | |
uses: jetify-com/[email protected] | |
- name: Run arbitrary commands | |
run: devbox run -- echo "done!" | |
- name: Switch to Devbox shell | |
run: devbox shell | |
- name: Check Java version | |
run: java --version | |
- name: Check Maven version | |
run: mvn --version | |
- name: Run mvn tests | |
run: mvn test |