Skip to content

Bump tonic-build from 0.6.2 to 0.7.2 in /marauder #215

Bump tonic-build from 0.6.2 to 0.7.2 in /marauder

Bump tonic-build from 0.6.2 to 0.7.2 in /marauder #215

Workflow file for this run

name: CI
on: [push, pull_request]
env:
TARGET: armv7-unknown-linux-gnueabihf
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: ${{ env.TARGET }}
override: true
components: rustfmt
- uses: marcopolo/cargo@master # TODO: - uses: actions-rs/cargo@v1 https://github.com/actions-rs/cargo/pull/59
with:
working-directory: marauder
use-cross: true
args: --target ${{ env.TARGET }}
command: check
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: ${{ env.TARGET }}
override: true
components: rustfmt
- uses: marcopolo/cargo@master # TODO: - uses: actions-rs/cargo@v1 https://github.com/actions-rs/cargo/pull/59
with:
working-directory: marauder
use-cross: true
args: --target ${{ env.TARGET }}
command: test
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: ${{ env.TARGET }}
override: true
components: rustfmt
- uses: marcopolo/cargo@master # TODO: - uses: actions-rs/cargo@v1 https://github.com/actions-rs/cargo/pull/59
with:
working-directory: marauder
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: ${{ env.TARGET }}
override: true
components: rustfmt, clippy
- uses: marcopolo/cargo@master # TODO: - uses: actions-rs/cargo@v1 https://github.com/actions-rs/cargo/pull/59
with:
working-directory: marauder
use-cross: true
args: --target ${{ env.TARGET }} -- -D warnings
command: clippy