Skip to content

Commit

Permalink
added cargo test github action
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke committed Aug 8, 2024
1 parent c9a6f3d commit fce2230
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/run_cargo_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Cargo Build & Test

on:
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
File renamed without changes.

0 comments on commit fce2230

Please sign in to comment.