Bump up spec version #573
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: Rust | |
on: | |
push: | |
branches: | |
- master | |
pull_request: {} | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly-2023-03-09 | |
override: true | |
components: rustfmt | |
- name: Ensure Standard Formatting | |
run: cargo +nightly-2023-03-09 fmt -- --check | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install nightly-2023-03-09 | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly-2023-03-09 | |
override: true | |
- name: Install WASM | |
run: rustup target add wasm32-unknown-unknown --toolchain nightly-2023-03-09 | |
- name: Ensure docs are buildable | |
run: cargo doc --no-deps | |
- name: Run tests | |
run: cargo test --all | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install nightly-2023-03-09 | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly-2023-03-09 | |
override: true | |
- name: Install WASM | |
run: rustup target add wasm32-unknown-unknown --toolchain nightly-2023-03-09 | |
- run: ./scripts/integration_tests |