Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hampfh committed Jul 11, 2024
1 parent 614357e commit 34b4665
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/rust_build_and_tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cargo Build & Test
name: cargo

on:
push:
Expand All @@ -14,8 +14,8 @@ env:
CARGO_TERM_COLOR: always

jobs:
build_and_test:
name: Rust project - latest
build:
name: build (stable)
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -24,5 +24,16 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
- run: cargo build --manifest-path apps/server/Cargo.toml --verbose
test:
name: test (stable)
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo test --manifest-path apps/server/Cargo.toml --verbose

0 comments on commit 34b4665

Please sign in to comment.