Skip to content

Commit

Permalink
Add GitHub Actions for CI (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jul 10, 2020
1 parent f9b9abf commit a0fb2a1
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/CI.yml
@@ -0,0 +1,35 @@
name: CI
on:
pull_request:
push:
branches:
- master

jobs:
test:
name: Test ${{ matrix.rust }}
strategy:
matrix:
rust:
- stable
- beta
- nightly
- 1.21.0

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Install Rust (${{ matrix.rust }})
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true

- name: Test
uses: actions-rs/cargo@v1
with:
command: test

0 comments on commit a0fb2a1

Please sign in to comment.