✨ constants + general_config wip #31
Workflow file for this run
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
on: [push, pull_request] | |
name: Sn os | |
jobs: | |
rustfmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Rust Toolchain Setup | |
run: rustup show | |
- uses: Swatinem/rust-cache@v2 | |
- name: Check format | |
run: cargo fmt --all -- --check | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Rust Toolchain Setup | |
run: rustup show | |
- uses: Swatinem/rust-cache@v2 | |
- name: Check lint | |
run: cargo clippy | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Rust Toolchain Setup | |
run: rustup show | |
- uses: Swatinem/rust-cache@v2 | |
- name: Run tests | |
run: cargo test |