Skip to content

Update esp-hal

Update esp-hal #158

Workflow file for this run

name: PR checks
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
jobs:
check:
strategy:
matrix:
version: ["v4", "v6c6", "v6s3"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: esp-rs/xtensa-toolchain@v1.5
with:
default: true
buildtargets: esp32s3
ldproxy: false
- uses: Swatinem/rust-cache@v2
- name: format check
run: cargo fmt --check
- name: check
run: cargo xcheck ${{ matrix.version }}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: esp-rs/xtensa-toolchain@v1.5
with:
default: true
buildtargets: esp32s3
ldproxy: false
- uses: Swatinem/rust-cache@v2
- name: test
run: cargo xtask test