Skip to content

chore(deps): update actions/checkout action to v4.1.0 #101

chore(deps): update actions/checkout action to v4.1.0

chore(deps): update actions/checkout action to v4.1.0 #101

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-eabi' ]
name: ${{ matrix.rust-channel }}-${{ matrix.rust-target }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust-channel }}
target: ${{ matrix.rust-target }}
override: true
- name: Cargo Check
uses: actions-rs/cargo@v1
with:
command: check
args: --target ${{ matrix.rust-target }}
- name: Cargo Build
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose --target ${{ matrix.rust-target }}