rust support?
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
Cargo Build & Test / Rust project - latest (beta) (push) Failing after 3s
Cargo Build & Test / Rust project - latest (nightly) (push) Failing after 3s
Cargo Build & Test / Rust project - latest (stable) (push) Failing after 3s

This commit is contained in:
oliver 2024-07-27 14:52:36 -06:00
parent 65dd0d5c1d
commit cb79724a48

View File

@ -0,0 +1,25 @@
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@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose