chore: buildjet on test.yml (#10)
* chore: buildjet on test.yml * remove backend fmt, test and clippy checks from pre-release workflow --------- Co-authored-by: couscous <couscous@runner.com>
This commit is contained in:
committed by
GitHub
parent
1416a12712
commit
58f621c816
6
.github/workflows/pre-release.yml
vendored
6
.github/workflows/pre-release.yml
vendored
@@ -139,12 +139,6 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y pkg-config libssl-dev
|
||||
|
||||
- name: Checks
|
||||
run: |
|
||||
cargo fmt --all -- --check
|
||||
cargo test --workspace
|
||||
cargo clippy --all --all-targets --all-features -- -D warnings
|
||||
|
||||
- name: Build backend for target
|
||||
run: cargo build --release --target ${{ matrix.target }} --manifest-path backend/Cargo.toml
|
||||
|
||||
|
||||
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -15,7 +15,7 @@ env:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: buildjet-4vcpu-ubuntu-2204
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -49,6 +49,7 @@ jobs:
|
||||
RUST_CACHE_DEBUG: true
|
||||
with:
|
||||
workspaces: "backend"
|
||||
cache-provider: "buildjet"
|
||||
|
||||
- name: Checks
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user