Files
opaque-vx/.github/workflows/main.yml
T
Kevin Lewi 88696763cc
Rust CI / test + Clippy + rustfmt (push) Has been cancelled
Initial commit
2020-06-05 09:35:14 -07:00

35 lines
761 B
YAML

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