[LICENSE] Add a LICENSE file to be more explicit #55
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: CI | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
jobs: | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Rust env | |
uses: ./.github/actions/setup-rust-env | |
- name: Rust clippy | |
run: cargo clippy -- -Dclippy::all -D warnings | |
rustfmt: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Rust env | |
uses: ./.github/actions/setup-rust-env | |
- name: Rust fmt | |
run: cargo fmt --check | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Rust env | |
uses: "./.github/actions/setup-rust-env" | |
- name: Rust test | |
run: cargo test --workspace |