diff --git a/.gitea/workflows/Scan.yaml b/.gitea/workflows/Scan.yaml index fe27ec4..a14d863 100644 --- a/.gitea/workflows/Scan.yaml +++ b/.gitea/workflows/Scan.yaml @@ -11,9 +11,10 @@ jobs: test: runs-on: ubuntu-latest 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 - name: Run arbitrary commands diff --git a/devbox.json b/devbox.json new file mode 100644 index 0000000..7425965 --- /dev/null +++ b/devbox.json @@ -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" + ] + } + } +} diff --git a/devbox.lock b/devbox.lock new file mode 100644 index 0000000..30ce0c0 --- /dev/null +++ b/devbox.lock @@ -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" + } + } + } + } +}