Skip to content

Develop/1.1.0

Develop/1.1.0 #20

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 }}