Foo3
Some checks failed
Matrix / Format (pull_request) Has been cancelled
Matrix / Clippy check (pull_request) Has been cancelled
Matrix / Build - beta (pull_request) Has been cancelled
Matrix / Build - nightly (pull_request) Has been cancelled
Matrix / Build - stable (pull_request) Has been cancelled
Matrix / Test - beta (pull_request) Has been cancelled
Matrix / Test - nightly (pull_request) Has been cancelled
Matrix / Test - stable (pull_request) Has been cancelled
Some checks failed
Matrix / Format (pull_request) Has been cancelled
Matrix / Clippy check (pull_request) Has been cancelled
Matrix / Build - beta (pull_request) Has been cancelled
Matrix / Build - nightly (pull_request) Has been cancelled
Matrix / Build - stable (pull_request) Has been cancelled
Matrix / Test - beta (pull_request) Has been cancelled
Matrix / Test - nightly (pull_request) Has been cancelled
Matrix / Test - stable (pull_request) Has been cancelled
This commit is contained in:
48
.github/workflows/builder.yml
vendored
48
.github/workflows/builder.yml
vendored
@@ -6,6 +6,27 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
format:
|
||||||
|
name: Format
|
||||||
|
runs-on: native:host
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
components: rustfmt, clippy
|
||||||
|
- run: cargo fmt --all -- --check
|
||||||
|
|
||||||
|
clippy:
|
||||||
|
name: Clippy check
|
||||||
|
runs-on: native:host
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
components: rustfmt, clippy
|
||||||
|
- run: cargo clippy --all-targets -- -D warnings
|
||||||
|
|
||||||
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust:
|
rust:
|
||||||
@@ -13,18 +34,31 @@ jobs:
|
|||||||
- beta
|
- beta
|
||||||
- nightly
|
- nightly
|
||||||
|
|
||||||
main:
|
name: Build - ${{matrix.rust}}
|
||||||
name: ${{matrix.rust}}
|
runs-on: native:host
|
||||||
runs-on: x86_64-linux
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: ${{matrix.rust}}
|
toolchain: ${{matrix.rust}}
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
- run: rustup --version
|
- run: cargo build
|
||||||
- run: rustc -vV
|
|
||||||
|
|
||||||
- run: cargo clippy
|
test:
|
||||||
- run: cargo fmt --all -- --check
|
strategy:
|
||||||
|
matrix:
|
||||||
|
rust:
|
||||||
|
- stable
|
||||||
|
- beta
|
||||||
|
- nightly
|
||||||
|
|
||||||
|
name: Test - ${{matrix.rust}}
|
||||||
|
runs-on: native:host
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
- uses: dtolnay/rust-toolchain@master
|
||||||
|
with:
|
||||||
|
toolchain: ${{matrix.rust}}
|
||||||
|
components: rustfmt, clippy
|
||||||
- run: cargo test
|
- run: cargo test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user