Rust Init #6

Merged
lukas merged 15 commits from rust-init into main 2023-11-20 16:40:55 +01:00
Showing only changes of commit f29742a7e1 - Show all commits

View File

@ -1,27 +0,0 @@
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
steps:
- uses: actions/checkout@v3
- uses: rust-build/rust-build.action@v1.4.4
with:
RUSTTARGET: ${{ matrix.target }}
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
- run: cargo clippy --verbose