Testing with devbox #83
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: # Trigger on any push to any branch | |
schedule: | |
- cron: '45 23 * * *' # Run daily at 23:45 UTC | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install devbox | |
uses: jetify-com/[email protected] | |
with: | |
enable-cache: 'true' # Cache Nix store | |
- name: Check Devbox Java (JDK) version | |
run: devbox info jdk22 | |
- name: Check Devbox Maven version | |
run: devbox info maven | |
- name: Run mvn tests | |
run: devbox run test |