Skip to content

update pin out

update pin out #106

Workflow file for this run

name: Rust CI
on:
pull_request:
types: [opened, synchronize]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
rust-checks:
name: Rust Checks
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
crate: ["relay", "wifi", "dc", "input_controller", "output_controller"]
action:
- command: check
args: --release
- command: fmt
args: --all -- --check --color always
- command: clippy
args: --all-features --workspace
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Rust
uses: esp-rs/[email protected]
with:
default: true
buildtargets: esp32
ldproxy: true
- name: Enable caching
uses: Swatinem/rust-cache@v2
with:
workspaces: "relay/ -> target

Check failure on line 39 in .github/workflows/rust_ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/rust_ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 39
wifi/ -> target
input_controller/ -> target
output_controller/ -> target
- name: Xtensa rustup target
run: espup install
- name: Source espup script
run: . $HOME/export-esp.sh
- name: Run command
run: cargo ${{ matrix.action.command }} --manifest-path=${{ matrix.crate }}/Cargo.toml ${{ matrix.action.args }}