ci: initial prototype
Some checks failed
Cargo Build & Test / Rust project - latest (push) Has been cancelled
Cargo Build & Test / Rust project - latest (pull_request) Has been cancelled

This commit is contained in:
Даниил 2025-02-06 18:47:55 +04:00
parent c7ec61994b
commit 3216ebb9ca
Signed by: nm17
GPG key ID: 3303B70C59145CD4

View file

@ -0,0 +1,31 @@
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:
- nightly
steps:
- uses: actions/checkout@v4
- run: ls . && pwd && whoami
shell: bash
- uses: actions/cache@v4
with:
path: |
~/.cargo/
key: ${{ runner.os }}-cargo
- uses: https://github.com/dtolnay/rust-toolchain@stable
with:
toolchain: nightly
- run: cargo test --all-features