Skip to content

chore(deps): update actions/checkout action to v4.1.6 (#100) #224

chore(deps): update actions/checkout action to v4.1.6 (#100)

chore(deps): update actions/checkout action to v4.1.6 (#100) #224

Workflow file for this run

name: Rust
on:
pull_request:
push:
branches:
- master
jobs:
build:
strategy:
matrix:
rust-channel: [ 'stable', 'nightly' ]
rust-target: [ 'x86_64-unknown-linux-gnu', 'thumbv7em-none-eabihf' ]
name: ${{ matrix.rust-channel }}-${{ matrix.rust-target }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.6
- name: Install toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust-channel }}
target: ${{ matrix.rust-target }}
- name: Cargo Check
run: cargo check --target ${{ matrix.rust-target }}
- name: Cargo Build
run: cargo build --verbose --target ${{ matrix.rust-target }}