Initial commit
Rust CI / test + Clippy + rustfmt (push) Has been cancelled

This commit is contained in:
Kevin Lewi
2020-06-05 09:35:14 -07:00
commit 88696763cc
22 changed files with 4253 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
name: Rust CI
on: [push]
jobs:
combo:
name: test + Clippy + rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test