blob: 1fb482260fbedbbc34a72ce26326eaf26503c32d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
name: CI
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
rust_version: [stable, 1.43.1]
os: [windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Rustup
run: rustup default ${{ matrix.rust_version }}
- name: Test
run: cargo test
clippy:
strategy:
matrix:
os: [windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Rustup
run: rustup default ${{ matrix.rust_version }}
- name: Install Clippy
run: rustup component add clippy
- name: Lint
run: cargo clippy --all-targets
|