chore: enable DorpsGek notifications (#15) #28
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: Testing | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
testing: | |
name: Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Rust toolchain | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Install wasm-pack | |
run: | | |
cargo install wasm-pack | |
- name: Build library | |
run: | | |
wasm-pack build --release --target web | |
cargo build --release | |
- name: Run tests | |
run: | | |
cargo test | |
- name: Check coding style | |
run: | | |
cargo fmt --check |