bevy_mod_outline/.github/workflows/ci.yml

41 lines
852 B
YAML
Raw Normal View History

2022-06-10 21:29:51 +00:00
on: [push, pull_request]
name: Continuous integration
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo check
2022-06-10 21:29:51 +00:00
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo test
2022-06-10 21:29:51 +00:00
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
2022-06-10 21:29:51 +00:00
with:
components: rustfmt
- run: cargo fmt --all -- --check
2022-06-10 21:29:51 +00:00
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
2022-06-10 21:29:51 +00:00
with:
components: clippy
- run: cargo clippy -- -D warnings