Skip to content

PAC195X: Calculate correct VBUS voltage #2

PAC195X: Calculate correct VBUS voltage

PAC195X: Calculate correct VBUS voltage #2

Workflow file for this run

name: CI Build
on:
push:
env:
CARGO_TERM_COLOR: always
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- name: Set up Rust toolchain
run: |
rustup toolchain install ${{ matrix.rust }}
- name: Build examples
run: |
cargo build --examples
- name: Build release config
run: |
cargo build --release
- name: Check formatting
run: |
cargo fmt --all -- --check
- name: Check formatting
run: |
cargo clippy -- -D warnings