Skip to content

Commit

Permalink
add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dead10ck committed Aug 24, 2023
1 parent 16d1509 commit 881af6e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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'

0 comments on commit 881af6e

Please sign in to comment.