Skip to content

Merge pull request #1 from tkeksa/upd #20

Merge pull request #1 from tkeksa/upd

Merge pull request #1 from tkeksa/upd #20

Workflow file for this run

name: ci
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install components
run: rustup component add --toolchain stable rustfmt clippy
- name: Install target
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: armv7-unknown-linux-musleabihf
- name: Fetch
uses: actions-rs/cargo@v1
with:
command: fetch
- name: Check
uses: actions-rs/cargo@v1
with:
command: check
- name: Format
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: Build
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --target armv7-unknown-linux-musleabihf