Skip to content
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
17 changes: 10 additions & 7 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
on:
pull_request_target:
pull_request:
# Run on labeled/unlabeled in addition to defaults to detect
# adding/removing skip-changelog labels.
types: [opened, reopened, labeled, unlabeled, synchronize]
merge_group:

name: Changelog check

Expand All @@ -9,11 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Changelog updated
uses: Zomzog/changelog-[email protected]
- name: Check changelog update
uses: dangoslen/changelog-enforcer@v3
with:
fileName: CHANGELOG.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
skipLabels: skip-changelog
missingUpdateErrorMessage: "Please add a changelog entry to the appropriate section of the CHANGELOG.md file."
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branches: master
branches: [master]
pull_request:
merge_group:

Expand Down Expand Up @@ -34,7 +34,7 @@ jobs:
experimental: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use the latest ${{ matrix.rust }} rustc
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
- name: Add Cortex-M3 target
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
on:
push:
branches: master
branches: [master]
pull_request:

name: Clippy check
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use the latest stable rustc
run: rustup update stable && rustup default stable
- name: Add Cortex-M3 target
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branches: master
branches: [master]
pull_request:
merge_group:

Expand All @@ -11,7 +11,7 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use the latest stable rustc
run: rustup update stable && rustup default stable

Expand Down
2 changes: 2 additions & 0 deletions src/i2c/blocking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ pub trait BlockingI2cExt: I2cExt {
}
}

impl<I2C: I2cExt> BlockingI2cExt for I2C {}

impl<I2C: Instance, const R: u8> Rmp<I2C, R> {
#[allow(clippy::too_many_arguments)]
pub fn blocking_i2c(
Expand Down
Loading