feat: container struct
This commit is contained in:
parent
e788e4aa13
commit
6dc79f7e29
3 changed files with 362 additions and 254 deletions
36
.github/workflows/ci-tests.yml
vendored
36
.github/workflows/ci-tests.yml
vendored
|
@ -2,9 +2,13 @@ name: Rust
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches:
|
||||
- "main"
|
||||
- "feat/*"
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches:
|
||||
- "main"
|
||||
- "feat/*"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
@ -24,3 +28,31 @@ jobs:
|
|||
run: cargo test --verbose --all-features --workspace --tests --bins --lib
|
||||
- name: Run doctests
|
||||
run: cargo test --verbose --all-features --workspace --doc
|
||||
|
||||
clippy_check:
|
||||
name: Clippy
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
- name: Install toolchain
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
components: clippy
|
||||
- name: Run clippy
|
||||
run: cargo clippy -- -D warnings
|
||||
|
||||
format:
|
||||
name: Format
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
- name: Install toolchain
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
components: rustfmt
|
||||
- name: Run cargo fmt
|
||||
run: cargo fmt --all -- --check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue