Some checks failed
Cargo Build & Test / Rust project - latest (push) Failing after 1m4s
28 lines
No EOL
584 B
YAML
28 lines
No EOL
584 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
|
|
- beta
|
|
- nightly
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
|
with:
|
|
toolchain: ${{ matrix.toolchain }}
|
|
- run: cargo build --verbose
|
|
- run: cargo upload
|
|
env:
|
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |