Skip to content

Commit a784770

Browse files
committed
refactor(ci): increase CARGO_BUILD_JOBS from 2 to 3
1 parent ca7a593 commit a784770

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
env:
1212
SQLX_OFFLINE: true
1313
CARGO_TERM_COLOR: always
14-
CARGO_BUILD_JOBS: 2
14+
CARGO_BUILD_JOBS: 3
1515
strategy:
1616
matrix:
1717
toolchain: [stable]
@@ -40,7 +40,10 @@ jobs:
4040
source "$HOME/.cargo/env"
4141
4242
if ! command -v trunk &> /dev/null; then
43-
cargo install trunk --locked
43+
wget https://github.com/trunk-rs/trunk/releases/latest/download/trunk-aarch64-unknown-linux-gnu.tar.gz
44+
tar -xzf trunk-aarch64-unknown-linux-gnu.tar.gz
45+
sudo mv trunk /usr/local/bin/
46+
rm trunk-aarch64-unknown-linux-gnu.tar.gz
4447
fi
4548
4649
REQUIRED_VERSION=$(cargo metadata --format-version 1 --no-deps 2>/dev/null \
@@ -89,4 +92,4 @@ jobs:
8992
run: cargo build --verbose -p rustmail
9093

9194
- name: Run tests
92-
run: cargo test --verbose -p rustmail
95+
run: cargo test --verbose -p rustmail

0 commit comments

Comments
 (0)