Skip to content

Add example.ps1 (facundoolano/rpg-cli#149) #277

Add example.ps1 (facundoolano/rpg-cli#149)

Add example.ps1 (facundoolano/rpg-cli#149) #277

Workflow file for this run

name: run-tests
on:
push:
branches:
- main
pull_request:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v1
- run: cargo test --verbose --workspace
- run: cargo +nightly clippy
- run: cargo fmt -- --check
- run: cargo run
- run: cargo run -- cd -f .