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

This commit is contained in:
2025-11-26 15:28:45 -08:00
parent dd402d13c7
commit 3b24fd1d05

View File

@@ -6,6 +6,27 @@ on:
pull_request:
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:
matrix:
rust:
@@ -13,18 +34,31 @@ jobs:
- beta
- nightly
main:
name: ${{matrix.rust}}
runs-on: x86_64-linux
name: Build - ${{matrix.rust}}
runs-on: native:host
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
components: rustfmt, clippy
- run: rustup --version
- run: rustc -vV
- run: cargo build
- run: cargo clippy
- run: cargo fmt --all -- --check
test:
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