Skip to content

add build workflow

add build workflow #5

Workflow file for this run

name: test
on:
pull_request:
push:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: checkout
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: install nushell
uses: taiki-e/install-action@v1
with:
tool: nu
- name: cargo build
run: cargo build
- name: test
env:
RUST_LOG: debug
run: nu -c 'register ${{ github.workspace }}/**/nu_plugin_dns; dns query google.com'