ci: clone with submodule

This commit is contained in:
🪞👃🪞 2024-12-30 21:58:52 +01:00
parent 47c34d0077
commit 670ec0bb18

View file

@ -5,6 +5,6 @@ jobs:
image: nixos/nix:latest image: nixos/nix:latest
steps: steps:
- run: nix-channel --list && nix-channel --update - run: nix-channel --list && nix-channel --update
- run: nix-shell -p git --command 'git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .' - run: nix-shell -p git --command 'git clone --recursive $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .'
- run: whoami && pwd && ls -al - run: whoami && pwd && ls -al
- run: nix-shell --command 'cargo version -vv && cargo test && cargo build --release && cloc crates/tek/src' .forgejo/workflows/build.nix - run: nix-shell --command 'cargo version -vv && cargo test && cargo build --release && cloc crates/tek/src' .forgejo/workflows/build.nix