Skip to content

checkout submodules in actions #2

checkout submodules in actions

checkout submodules in actions #2

Workflow file for this run

name: CI
on: [push]
jobs:
check:
name: cargo check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
- uses: romnn/cargo-feature-combinations@main
- run: cargo fc check
lints:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: romnn/cargo-feature-combinations@main
- run: cargo fc clippy
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
- uses: romnn/cargo-feature-combinations@main
- run: cargo fc test --workspace
formatting:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --check