Skip to content

CodeSee no longer exists #10

CodeSee no longer exists

CodeSee no longer exists #10

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
paths:
- "**.rs"
- "Cargo.toml"
- "Cargo.lock"
jobs:
fmt:
name: Source formatting check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
target: armv7-unknown-linux-gnueabihf
override: true
components: rustfmt
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
# Disable check and link for now.
# check:
# name: Compilation check
# runs-on: ubuntu-latest
# strategy:
# fail-fast: true
# matrix:
# rust:
# - stable
# - nightly
# steps:
# - name: Checkout sources
# uses: actions/checkout@v2
# - name: Install Rust toolchain
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: ${{ matrix.rust }}
# target: armv7-unknown-linux-gnueabihf
# override: true
# - name: Run cargo check
# uses: actions-rs/cargo@v1
# with:
# command: check
# clippy:
# name: Lint check
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# rust:
# - stable
# - nightly
# steps:
# - name: Checkout sources
# uses: actions/checkout@v2
# - name: Install Rust toolchain
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: ${{ matrix.rust }}
# target: armv7-unknown-linux-gnueabihf
# override: true
# components: clippy
# - name: Run lints
# uses: actions-rs/cargo@v1
# with:
# command: clippy
# args: -- -D warnings