Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

on:
pull_request:
push:
branches:
- main
name: continuous-integration
jobs:
tests:
strategy:
fail-fast: true
matrix:
platform: [windows-latest, macos-latest, ubuntu-20.04]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1.5.0
with:
rustflags: ""
- name: Install Nushell
run: cargo install --git https://github.com/nushell/nushell.git --locked
shell: bash
- name: Run the tests
run: |
use nupm/
nupm test
shell: nu {0}