Merge pull request #145 from GnomedDev/fix-clippy #530
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
# Run on the main branch | |
branches: | |
- main | |
# Releases are tags named 'v<version>', and must have the "major.minor.micro", for example: "0.1.0". | |
# Release candidates are tagged as `v<version>-rc<num>`, for example: "0.1.0-rc1". | |
tags: | |
- "v*" | |
# Also on PRs, just be careful not to publish anything | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: cargo check | |
- name: Test | |
run: cargo test -- --nocapture | |
- name: Build examples | |
run: for i in embassy blocking tokio nrf52; do pushd examples/$i; cargo build; popd; done; |