This repository has been archived on 2024-10-20. You can view files and clone it, but cannot push or open issues or pull requests.
Leon 5496218373
Some checks failed
Cargo Build & Test / Rust project - latest (stable) (push) Failing after 4s
Cargo Build & Test / Rust project - latest (stable) (pull_request) Failing after 4s
Some more black magic
2023-11-09 00:20:30 +01:00

27 lines
598 B
YAML

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