Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #2

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/convco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: webiny/action-conventional-commits@v1.1.0
- uses: taskmedia/action-conventional-commits@v1.1.4
with:
types: "feat|fix|build|chore|ci|docs|style|refactor|perf|test"
10 changes: 8 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Lint check
- name: Install Nightly
run: rustup toolchain install nightly-2023-10-02-x86_64-unknown-linux-gnu
- name: Install Clippy
run: rustup component add clippy --toolchain nightly-2023-10-02-x86_64-unknown-linux-gnu
- name: clippy check
run: cargo clippy

formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format check
- name: Install Nightly
run: rustup toolchain install nightly-2023-10-02-x86_64-unknown-linux-gnu
- name: Install rustfmt
run: rustup component add rustfmt --toolchain nightly-2023-10-02-x86_64-unknown-linux-gnu
- name: Check Formatting
run: cargo fmt --all -- --check


5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,4 @@ embedded-hal-async = { version = "1.0.0-rc.1", optional = true }
[features]
default = ["async"]
async = ["embedded-hal-async"]
blocking = ["embedded-hal"]


# just testing
blocking = ["embedded-hal"]
Loading