add cargo workflow
Rust / Cargo / Compile (push) Waiting to run
Details
Rust / Cargo / Test (macOS-latest, beta) (push) Blocked by required conditions
Details
Rust / Cargo / Test (macOS-latest, nightly) (push) Blocked by required conditions
Details
Rust / Cargo / Test (macOS-latest, stable) (push) Blocked by required conditions
Details
Rust / Cargo / Test (ubuntu-latest, beta) (push) Blocked by required conditions
Details
Rust / Cargo / Test (ubuntu-latest, nightly) (push) Blocked by required conditions
Details
Rust / Cargo / Test (ubuntu-latest, stable) (push) Blocked by required conditions
Details
Rust / Cargo / Test (windows-latest, beta) (push) Blocked by required conditions
Details
Rust / Cargo / Test (windows-latest, nightly) (push) Blocked by required conditions
Details
Rust / Cargo / Test (windows-latest, stable) (push) Blocked by required conditions
Details
Rust / Cargo / Lint (push) Has been cancelled
Details
Rust / Cargo / Compile (push) Waiting to run
Details
Rust / Cargo / Test (macOS-latest, beta) (push) Blocked by required conditions
Details
Rust / Cargo / Test (macOS-latest, nightly) (push) Blocked by required conditions
Details
Rust / Cargo / Test (macOS-latest, stable) (push) Blocked by required conditions
Details
Rust / Cargo / Test (ubuntu-latest, beta) (push) Blocked by required conditions
Details
Rust / Cargo / Test (ubuntu-latest, nightly) (push) Blocked by required conditions
Details
Rust / Cargo / Test (ubuntu-latest, stable) (push) Blocked by required conditions
Details
Rust / Cargo / Test (windows-latest, beta) (push) Blocked by required conditions
Details
Rust / Cargo / Test (windows-latest, nightly) (push) Blocked by required conditions
Details
Rust / Cargo / Test (windows-latest, stable) (push) Blocked by required conditions
Details
Rust / Cargo / Lint (push) Has been cancelled
Details
This commit is contained in:
parent
a712e8fb1c
commit
e9337f93de
|
@ -0,0 +1,56 @@
|
|||
name: Rust / Cargo
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
steps:
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup | Rust
|
||||
uses: ATiltedTree/setup-rust@v1
|
||||
with:
|
||||
rust-version: stable
|
||||
components: clippy
|
||||
- name: Build | Lint
|
||||
run: cargo clippy
|
||||
compile:
|
||||
name: Compile
|
||||
steps:
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup | Rust
|
||||
uses: ATiltedTree/setup-rust@v1
|
||||
with:
|
||||
rust-version: stable
|
||||
- name: Build | Compile
|
||||
run: cargo check
|
||||
test:
|
||||
name: Test
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
- macOS-latest
|
||||
rust:
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
runs-on: ${{ matrix.os }}
|
||||
needs: [compile]
|
||||
steps:
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup | Rust
|
||||
uses: ATiltedTree/setup-rust@v1
|
||||
with:
|
||||
rust-version: ${{ matrix.rust }}
|
||||
- name: Build | Compile
|
||||
run: cargo test
|
||||
|
Loading…
Reference in New Issue