Skip to content

Commit c4d90a1

Browse files
authored
Merge pull request #3 from dtolnay/actions
Enable GitHub Actions
2 parents 93a16b1 + dbcb3a7 commit c4d90a1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: test
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule: [cron: "40 1 * * *"]
7+
8+
jobs:
9+
test:
10+
name: Rust ${{matrix.rust}} on ${{matrix.os}}
11+
runs-on: ${{matrix.os}}-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
rust: [nightly, beta, stable, 1.31.0]
16+
os: [ubuntu, macos, windows]
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: dtolnay/rust-toolchain@master
20+
with:
21+
toolchain: ${{matrix.rust}}
22+
- run: cargo test

0 commit comments

Comments
 (0)