Add first README version #10
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: | |
pull_request: | |
jobs: | |
test: | |
name: "Run tests" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Cargo test" | |
run: cargo test --all | |
format: | |
name: "Check rustfmt" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Rustfmt check" | |
run: cargo fmt --check | |
clippy: | |
name: "Check clippy" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Clippy check" | |
run: cargo clippy --all-targets --all-features | |
build-wasm: | |
name: "Build wasm" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Install wasm target" | |
run: rustup target add wasm32-unknown-unknown | |
- name: "Build wasm" | |
run: cargo build --target wasm32-unknown-unknown |