reminder to check suspended/deactivated handling #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: checks | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build lib | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
style: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: get nightly toolchain for jetstream fmt | |
run: rustup toolchain install nightly --allow-downgrade -c rustfmt | |
- name: fmt | |
run: cargo fmt --package links --package constellation --package ufos -- --check | |
- name: fmt jetstream (nightly) | |
run: cargo +nightly fmt --package jetstream -- --check | |
- name: clippy | |
run: cargo clippy --all-targets --all-features -- -D warnings |