Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
YuhanLiin committed Jul 12, 2024
1 parent 19df24a commit 7eafc5b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
- stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@${{ matrix.toolchain }}
- uses: dtolnay/rust-toolchain@master
with:
- toolchain: ${{matrix.toolchain}}
- components: clippy
- uses: arduino/setup-protoc@v3
- run: cargo clippy --tests -- -Dwarnings
- run: cargo test
Expand All @@ -25,7 +28,9 @@ jobs:
- stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@${{ matrix.toolchain }}
- uses: dtolnay/rust-toolchain@master
with:
- toolchain: ${{matrix.toolchain}}
- uses: arduino/setup-protoc@v3
- run: cargo build --workspace --exclude no-panicking
- run: cargo build -p no-panicking --profile release-lto
Expand All @@ -36,6 +41,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
- components: miri
- uses: arduino/setup-protoc@v3
- run: MIRIFLAGS=-"Zmiri-tree-borrows" cargo +nightly miri test -p micropb -p basic-proto

Expand Down

0 comments on commit 7eafc5b

Please sign in to comment.