add devbox
This commit is contained in:
parent
b8a0af7f43
commit
4e65321d50
|
@ -11,9 +11,10 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: https://${{ env.DOMAIN }}/actions/checkout@v4
|
- name: 🔎拉取代码
|
||||||
|
uses: https://${{ env.DOMAIN }}/actions/checkout@v4
|
||||||
|
|
||||||
- name: Install devbox
|
- name: 🐬安装devbox
|
||||||
uses: https://${{ env.DOMAIN }}/actions/devbox-install-action@v0.9.0
|
uses: https://${{ env.DOMAIN }}/actions/devbox-install-action@v0.9.0
|
||||||
|
|
||||||
- name: Run arbitrary commands
|
- name: Run arbitrary commands
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.10.6/.schema/devbox.schema.json",
|
||||||
|
"packages": ["bun@latest"],
|
||||||
|
"shell": {
|
||||||
|
"init_hook": [
|
||||||
|
"echo 'Welcome to devbox!' > /dev/null"
|
||||||
|
],
|
||||||
|
"scripts": {
|
||||||
|
"test": [
|
||||||
|
"echo \"Error: no test specified\" && exit 1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,53 @@
|
||||||
|
{
|
||||||
|
"lockfile_version": "1",
|
||||||
|
"packages": {
|
||||||
|
"bun@latest": {
|
||||||
|
"last_modified": "2024-04-19T17:36:04-04:00",
|
||||||
|
"resolved": "github:NixOS/nixpkgs/92d295f588631b0db2da509f381b4fb1e74173c5#bun",
|
||||||
|
"source": "devbox-search",
|
||||||
|
"version": "1.1.4",
|
||||||
|
"systems": {
|
||||||
|
"aarch64-darwin": {
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "out",
|
||||||
|
"path": "/nix/store/fiwjsimc76cj65jkv5igazikqkd8zcns-bun-1.1.4",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"store_path": "/nix/store/fiwjsimc76cj65jkv5igazikqkd8zcns-bun-1.1.4"
|
||||||
|
},
|
||||||
|
"aarch64-linux": {
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "out",
|
||||||
|
"path": "/nix/store/vkhqs4p1clbarknbnjbk2riphqlrrx30-bun-1.1.4",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"store_path": "/nix/store/vkhqs4p1clbarknbnjbk2riphqlrrx30-bun-1.1.4"
|
||||||
|
},
|
||||||
|
"x86_64-darwin": {
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "out",
|
||||||
|
"path": "/nix/store/xrpxfnbpqpzls14950ngwamxr7v6paa1-bun-1.1.4",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"store_path": "/nix/store/xrpxfnbpqpzls14950ngwamxr7v6paa1-bun-1.1.4"
|
||||||
|
},
|
||||||
|
"x86_64-linux": {
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "out",
|
||||||
|
"path": "/nix/store/899zg048mw6cwc8z87aky9hsy61iz612-bun-1.1.4",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"store_path": "/nix/store/899zg048mw6cwc8z87aky9hsy61iz612-bun-1.1.4"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue