Release/1.1.0 #21
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: 'Build pull request' | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Initialize rust cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: ${{ github.workspace }} | |
- name: Install wasm target | |
run: rustup target add wasm32-unknown-unknown | |
- name: Install trunk | |
run: cargo install trunk | |
- name: Build | |
run: cargo build | |
working-directory: ${{ github.workspace }} | |
- name: Run rust tests | |
run: cargo test | |
working-directory: ${{ github.workspace }} |