Skip to content

Commit a4140fe

Browse files
committed
Add very minimal formatting and linting checks via GitHub actions
1 parent b87a2bf commit a4140fe

File tree

2 files changed

+25
-12
lines changed

2 files changed

+25
-12
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [master]
7+
8+
jobs:
9+
fmt:
10+
name: Check formatting
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Check Formatting
15+
run: cargo fmt -- --check
16+
17+
clippy:
18+
name: Check lints
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
with:
23+
submodules: true
24+
- name: Clippy
25+
run: cargo clippy --all --all-targets -- -Dwarnings

.travis.yml

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

0 commit comments

Comments
 (0)