refactor: move mod-prm #165
Workflow file for this run
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: run | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: | |
- '**' # matches every branch | |
workflow_dispatch: | |
jobs: | |
tests: | |
name: tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout Sources | |
uses: actions/checkout@v2 | |
- name: Clear up disk space | |
run: | | |
sudo rm -rf "/usr/local/share/boost" | |
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | |
sudo apt-get clean | |
- name: Install cargo-nextest | |
uses: baptiste0928/cargo-install@v1 | |
with: | |
crate: cargo-nextest | |
version: latest | |
- name: Install Toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: rustfmt, clippy | |
target: wasm32-unknown-unknown | |
override: true | |
default: true | |
- name: Rust Cache | |
uses: Swatinem/[email protected] | |
- name: Run tests | |
run: cargo nextest run |