Skip to content

Merge pull request #48 from robertrv/patch-1 #114

Merge pull request #48 from robertrv/patch-1

Merge pull request #48 from robertrv/patch-1 #114

Workflow file for this run

name: ci
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
rust: [stable]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
target: aarch64-unknown-linux-gnu
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v1
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --lib --bins