Add devbox workflow args
All checks were successful
Test / Build (push) Successful in 4s
Test / Test (push) Successful in 3s

Add src/devbox.json
This commit is contained in:
Chris Daßler
2025-02-12 23:25:41 +01:00
parent fbf14dc880
commit 334c86c067
2 changed files with 21 additions and 0 deletions

View File

@@ -10,6 +10,12 @@ jobs:
- name: Install devbox
uses: jetify-com/devbox-install-action@v0.12.0
with:
project-path: './src'
enable-cache: 'false'
refresh-cli: 'false'
devbox-version: 'latest'
disable-nix-access-token: 'false'
- name: Run arbitrary commands
run: devbox run -- echo "done!"

15
src/devbox.json Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.7/.schema/devbox.schema.json",
"packages": [],
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
}
}