Skip to content

Commit 44a912a

Browse files
committed
Setup linting via github actions
1 parent 09f1b68 commit 44a912a

File tree

2 files changed

+22
-62
lines changed

2 files changed

+22
-62
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: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- feature/ci
7+
8+
jobs:
9+
lint:
10+
name: Clippy
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Install rust
17+
run: |
18+
rustup update stable && rustup default stable
19+
rustup component add clippy
20+
21+
- name: Run clippy
22+
run: cargo clippy --all --all-features -- -Dwarnings

.travis.yml

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

0 commit comments

Comments
 (0)