Skip to content

Commit a31f813

Browse files
committed
CI with Github Actions.
1 parent 1fc4f0b commit a31f813

File tree

2 files changed

+33
-118
lines changed

2 files changed

+33
-118
lines changed

.circleci/config.yml

Lines changed: 0 additions & 118 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Continuous Integration
2+
on:
3+
push:
4+
pull_request:
5+
schedule:
6+
- cron: "0 0 1,15 * *"
7+
8+
jobs:
9+
test:
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, windows-latest, macOS-latest]
14+
rust: [stable, beta, nightly]
15+
16+
steps:
17+
- uses: hecrj/setup-rust-action@v1
18+
with:
19+
rust-version: ${{ matrix.rust }}
20+
- uses: actions/checkout@v1
21+
- name: Run tests
22+
run: cargo test --all-features
23+
24+
clippy:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: hecrj/setup-rust-action@v1
28+
with:
29+
rust-version: stable
30+
components: clippy
31+
- uses: actions/checkout@v1
32+
- name: Clippy
33+
run: cargo clippy -- -D warnings

0 commit comments

Comments
 (0)