Create rust.yml #3

Merged
michael-bailey merged 1 commits from workflow into master 2021-04-13 20:54:20 +00:00
1 changed files with 25 additions and 0 deletions

25
.github/workflows/rust.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Rust
on:
push:
branches: [ ref-method ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: check
run: cargo check --verbose
- name: Build
run: cargo build --verbose