Skip to content

Merge pull request #2 from embassy-rs/ci #9

Merge pull request #2 from embassy-rs/ci

Merge pull request #2 from embassy-rs/ci #9

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ⚡ Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo
- name: Set permissions
run: chmod +x d
- name: Load sources
run: ./d download-all
- name: Run build
run: cargo run --release --bin stm32-bindings-gen