diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index c66a817e..2d80fe67 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -5,7 +5,7 @@ jobs: image: nixos/nix:latest steps: - run: nix-channel --list && nix-channel --update - - run: nix-shell -p git --command 'git clone --recursive $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .' + - run: nix-shell --cores 4 -p git --command 'git clone --recursive $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .' - run: whoami && pwd && ls -al - - run: nix-shell --command 'cloc src/ && cloc . && rustup install nightly && cargo version -vv && just cov && cargo doc -j4 && cargo build -j4 --release' .forgejo/workflows/build.nix + - run: nix-shell --cores 4 --command 'cloc src/ && cloc . && rustup install nightly && cargo version -vv && just cov && cargo doc -j4 && cargo build -j4 --release' .forgejo/workflows/build.nix #- run: nix-shell -p docker --command "docker run --security-opt seccomp=unconfined -v $PWD:/volume xd009642/tarpaulin cargo tarpaulin --out Html --all-features"