Feature/frontend #26
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: | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
RUST_BACKTRACE: full | |
RUSTC_WRAPPER: sccache | |
SCCACHE_GHA_ENABLED: "true" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run sccache-cache | |
uses: mozilla-actions/[email protected] | |
- name: Install build dependencies | |
run: | | |
rustup target add wasm32-unknown-unknown | |
cargo install trunk --version "=0.18.3" --locked | |
- name: Check Backend | |
run: | | |
trunk build --release | |
cargo build | |
cargo test |