Skip to content

Commit

Permalink
Adding rust workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbor committed Apr 3, 2024
1 parent 4b38e78 commit a8b7900
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Cargo Build & Test

on:
push:
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@v3
- run: rustup update stable && rustup default stable
- run: cargo build --verbose
- run: cargo test --verbose
- run: cargo clippy --verbose


0 comments on commit a8b7900

Please sign in to comment.