diff options
Diffstat (limited to '.github')
| -rwxr-xr-x | .github/ci/book.sh | 3 | ||||
| -rwxr-xr-x | .github/ci/build-nightly.sh | 3 | ||||
| -rwxr-xr-x | .github/ci/build-xtensa.sh | 11 | ||||
| -rwxr-xr-x | .github/ci/build.sh | 3 | ||||
| -rwxr-xr-x | .github/ci/doc.sh | 69 | ||||
| -rwxr-xr-x | .github/ci/test.sh | 2 | ||||
| -rw-r--r-- | .github/workflows/changelog.yml | 362 |
7 files changed, 413 insertions, 40 deletions
diff --git a/.github/ci/book.sh b/.github/ci/book.sh index 285cdc8fa..6c300bf09 100755 --- a/.github/ci/book.sh +++ b/.github/ci/book.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | ## on push branch=main | 2 | ## on push branch=main |
| 3 | ## priority -100 | ||
| 4 | ## dedup dequeue | ||
| 5 | ## cooldown 15m | ||
| 3 | 6 | ||
| 4 | set -euxo pipefail | 7 | set -euxo pipefail |
| 5 | 8 | ||
diff --git a/.github/ci/build-nightly.sh b/.github/ci/build-nightly.sh index 95cb4100c..2d7c4db3f 100755 --- a/.github/ci/build-nightly.sh +++ b/.github/ci/build-nightly.sh | |||
| @@ -7,6 +7,7 @@ set -euo pipefail | |||
| 7 | export RUSTUP_HOME=/ci/cache/rustup | 7 | export RUSTUP_HOME=/ci/cache/rustup |
| 8 | export CARGO_HOME=/ci/cache/cargo | 8 | export CARGO_HOME=/ci/cache/cargo |
| 9 | export CARGO_TARGET_DIR=/ci/cache/target | 9 | export CARGO_TARGET_DIR=/ci/cache/target |
| 10 | export PATH=$CARGO_HOME/bin:$PATH | ||
| 10 | mv rust-toolchain-nightly.toml rust-toolchain.toml | 11 | mv rust-toolchain-nightly.toml rust-toolchain.toml |
| 11 | 12 | ||
| 12 | # needed for "dumb HTTP" transport support | 13 | # needed for "dumb HTTP" transport support |
| @@ -22,6 +23,8 @@ fi | |||
| 22 | hashtime restore /ci/cache/filetime.json || true | 23 | hashtime restore /ci/cache/filetime.json || true |
| 23 | hashtime save /ci/cache/filetime.json | 24 | hashtime save /ci/cache/filetime.json |
| 24 | 25 | ||
| 26 | cargo install --git https://github.com/embassy-rs/cargo-embassy-devtool --locked --rev 280829ad163f1444999468a57d28fb7c412babbe | ||
| 27 | |||
| 25 | ./ci-nightly.sh | 28 | ./ci-nightly.sh |
| 26 | 29 | ||
| 27 | # Save lockfiles | 30 | # Save lockfiles |
diff --git a/.github/ci/build-xtensa.sh b/.github/ci/build-xtensa.sh index 103575bc9..b6626639d 100755 --- a/.github/ci/build-xtensa.sh +++ b/.github/ci/build-xtensa.sh | |||
| @@ -7,13 +7,14 @@ set -euo pipefail | |||
| 7 | export RUSTUP_HOME=/ci/cache/rustup | 7 | export RUSTUP_HOME=/ci/cache/rustup |
| 8 | export CARGO_HOME=/ci/cache/cargo | 8 | export CARGO_HOME=/ci/cache/cargo |
| 9 | export CARGO_TARGET_DIR=/ci/cache/target | 9 | export CARGO_TARGET_DIR=/ci/cache/target |
| 10 | export PATH=$CARGO_HOME/bin:$PATH | ||
| 10 | 11 | ||
| 11 | # needed for "dumb HTTP" transport support | 12 | # needed for "dumb HTTP" transport support |
| 12 | # used when pointing stm32-metapac to a CI-built one. | 13 | # used when pointing stm32-metapac to a CI-built one. |
| 13 | export CARGO_NET_GIT_FETCH_WITH_CLI=true | 14 | export CARGO_NET_GIT_FETCH_WITH_CLI=true |
| 14 | 15 | ||
| 15 | cargo install espup | 16 | cargo install espup --locked |
| 16 | /ci/cache/cargo/bin/espup install --toolchain-version 1.84.0.0 | 17 | espup install --toolchain-version 1.88.0.0 |
| 17 | 18 | ||
| 18 | # Restore lockfiles | 19 | # Restore lockfiles |
| 19 | if [ -f /ci/cache/lockfiles.tar ]; then | 20 | if [ -f /ci/cache/lockfiles.tar ]; then |
| @@ -24,11 +25,7 @@ fi | |||
| 24 | hashtime restore /ci/cache/filetime.json || true | 25 | hashtime restore /ci/cache/filetime.json || true |
| 25 | hashtime save /ci/cache/filetime.json | 26 | hashtime save /ci/cache/filetime.json |
| 26 | 27 | ||
| 27 | mkdir .cargo | 28 | cargo install --git https://github.com/embassy-rs/cargo-embassy-devtool --locked --rev 280829ad163f1444999468a57d28fb7c412babbe |
| 28 | cat > .cargo/config.toml<< EOF | ||
| 29 | [unstable] | ||
| 30 | build-std = ["alloc", "core"] | ||
| 31 | EOF | ||
| 32 | 29 | ||
| 33 | ./ci-xtensa.sh | 30 | ./ci-xtensa.sh |
| 34 | 31 | ||
diff --git a/.github/ci/build.sh b/.github/ci/build.sh index 68a7c0c34..59bcefed6 100755 --- a/.github/ci/build.sh +++ b/.github/ci/build.sh | |||
| @@ -7,6 +7,7 @@ set -euo pipefail | |||
| 7 | export RUSTUP_HOME=/ci/cache/rustup | 7 | export RUSTUP_HOME=/ci/cache/rustup |
| 8 | export CARGO_HOME=/ci/cache/cargo | 8 | export CARGO_HOME=/ci/cache/cargo |
| 9 | export CARGO_TARGET_DIR=/ci/cache/target | 9 | export CARGO_TARGET_DIR=/ci/cache/target |
| 10 | export PATH=$CARGO_HOME/bin:$PATH | ||
| 10 | if [ -f /ci/secrets/teleprobe-token.txt ]; then | 11 | if [ -f /ci/secrets/teleprobe-token.txt ]; then |
| 11 | echo Got teleprobe token! | 12 | echo Got teleprobe token! |
| 12 | export TELEPROBE_HOST=https://teleprobe.embassy.dev | 13 | export TELEPROBE_HOST=https://teleprobe.embassy.dev |
| @@ -27,6 +28,8 @@ fi | |||
| 27 | hashtime restore /ci/cache/filetime.json || true | 28 | hashtime restore /ci/cache/filetime.json || true |
| 28 | hashtime save /ci/cache/filetime.json | 29 | hashtime save /ci/cache/filetime.json |
| 29 | 30 | ||
| 31 | cargo install --git https://github.com/embassy-rs/cargo-embassy-devtool --locked --rev 280829ad163f1444999468a57d28fb7c412babbe | ||
| 32 | |||
| 30 | ./ci.sh | 33 | ./ci.sh |
| 31 | 34 | ||
| 32 | # Save lockfiles | 35 | # Save lockfiles |
diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 58ffe5f2e..7d6544e73 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | ## on push branch=main | 2 | ## on push branch=main |
| 3 | ## priority -100 | ||
| 4 | ## dedup dequeue | ||
| 5 | ## cooldown 15m | ||
| 3 | 6 | ||
| 4 | set -euxo pipefail | 7 | set -euxo pipefail |
| 5 | 8 | ||
| @@ -16,40 +19,42 @@ mv rust-toolchain-nightly.toml rust-toolchain.toml | |||
| 16 | # which makes rustup very sad | 19 | # which makes rustup very sad |
| 17 | rustc --version > /dev/null | 20 | rustc --version > /dev/null |
| 18 | 21 | ||
| 19 | docserver-builder -i ./embassy-boot -o webroot/crates/embassy-boot/git.zup | 22 | docserver build -c -i ./embassy-boot -o webroot/crates/embassy-boot/git.zup |
| 20 | docserver-builder -i ./embassy-boot-nrf -o webroot/crates/embassy-boot-nrf/git.zup | 23 | docserver build -c -i ./embassy-boot-nrf -o webroot/crates/embassy-boot-nrf/git.zup |
| 21 | docserver-builder -i ./embassy-boot-rp -o webroot/crates/embassy-boot-rp/git.zup | 24 | docserver build -c -i ./embassy-boot-rp -o webroot/crates/embassy-boot-rp/git.zup |
| 22 | docserver-builder -i ./embassy-boot-stm32 -o webroot/crates/embassy-boot-stm32/git.zup | 25 | docserver build -c -i ./embassy-boot-stm32 -o webroot/crates/embassy-boot-stm32/git.zup |
| 23 | docserver-builder -i ./embassy-embedded-hal -o webroot/crates/embassy-embedded-hal/git.zup | 26 | docserver build -c -i ./embassy-embedded-hal -o webroot/crates/embassy-embedded-hal/git.zup |
| 24 | docserver-builder -i ./embassy-executor -o webroot/crates/embassy-executor/git.zup | 27 | docserver build -c -i ./embassy-executor -o webroot/crates/embassy-executor/git.zup |
| 25 | docserver-builder -i ./embassy-futures -o webroot/crates/embassy-futures/git.zup | 28 | docserver build -c -i ./embassy-futures -o webroot/crates/embassy-futures/git.zup |
| 26 | docserver-builder -i ./embassy-nrf -o webroot/crates/embassy-nrf/git.zup | 29 | docserver build -c -i ./embassy-nrf -o webroot/crates/embassy-nrf/git.zup |
| 27 | docserver-builder -i ./embassy-rp -o webroot/crates/embassy-rp/git.zup | 30 | docserver build -c -i ./embassy-rp -o webroot/crates/embassy-rp/git.zup |
| 28 | docserver-builder -i ./embassy-mspm0 -o webroot/crates/embassy-mspm0/git.zup | 31 | docserver build -c -i ./embassy-mspm0 -o webroot/crates/embassy-mspm0/git.zup |
| 29 | docserver-builder -i ./embassy-sync -o webroot/crates/embassy-sync/git.zup | 32 | docserver build -c -i ./embassy-nxp -o webroot/crates/embassy-nxp/git.zup |
| 30 | docserver-builder -i ./cyw43 -o webroot/crates/cyw43/git.zup | 33 | docserver build -c -i ./embassy-sync -o webroot/crates/embassy-sync/git.zup |
| 31 | docserver-builder -i ./cyw43-pio -o webroot/crates/cyw43-pio/git.zup | 34 | docserver build -c -i ./cyw43 -o webroot/crates/cyw43/git.zup |
| 32 | docserver-builder -i ./embassy-stm32-wpan -o webroot/crates/embassy-stm32-wpan/git.zup --output-static webroot/static | 35 | docserver build -c -i ./cyw43-pio -o webroot/crates/cyw43-pio/git.zup |
| 36 | docserver build -c -i ./embassy-stm32-wpan -o webroot/crates/embassy-stm32-wpan/git.zup --output-static webroot/static | ||
| 33 | 37 | ||
| 34 | docserver-builder -i ./embassy-time -o webroot/crates/embassy-time/git.zup | 38 | docserver build -c -i ./embassy-time -o webroot/crates/embassy-time/git.zup |
| 35 | docserver-builder -i ./embassy-time-driver -o webroot/crates/embassy-time-driver/git.zup | 39 | docserver build -c -i ./embassy-time-driver -o webroot/crates/embassy-time-driver/git.zup |
| 36 | docserver-builder -i ./embassy-time-queue-utils -o webroot/crates/embassy-time-queue-utils/git.zup | 40 | docserver build -c -i ./embassy-time-queue-utils -o webroot/crates/embassy-time-queue-utils/git.zup |
| 37 | 41 | ||
| 38 | docserver-builder -i ./embassy-usb -o webroot/crates/embassy-usb/git.zup | 42 | docserver build -c -i ./embassy-usb -o webroot/crates/embassy-usb/git.zup |
| 39 | docserver-builder -i ./embassy-usb-dfu -o webroot/crates/embassy-usb-dfu/git.zup | 43 | docserver build -c -i ./embassy-usb-dfu -o webroot/crates/embassy-usb-dfu/git.zup |
| 40 | docserver-builder -i ./embassy-usb-driver -o webroot/crates/embassy-usb-driver/git.zup | 44 | docserver build -c -i ./embassy-usb-driver -o webroot/crates/embassy-usb-driver/git.zup |
| 41 | docserver-builder -i ./embassy-usb-logger -o webroot/crates/embassy-usb-logger/git.zup | 45 | docserver build -c -i ./embassy-usb-logger -o webroot/crates/embassy-usb-logger/git.zup |
| 42 | docserver-builder -i ./embassy-usb-synopsys-otg -o webroot/crates/embassy-usb-synopsys-otg/git.zup | 46 | docserver build -c -i ./embassy-usb-synopsys-otg -o webroot/crates/embassy-usb-synopsys-otg/git.zup |
| 43 | 47 | ||
| 44 | docserver-builder -i ./embassy-net -o webroot/crates/embassy-net/git.zup | 48 | docserver build -c -i ./embassy-net -o webroot/crates/embassy-net/git.zup |
| 45 | docserver-builder -i ./embassy-net-driver -o webroot/crates/embassy-net-driver/git.zup | 49 | docserver build -c -i ./embassy-net-nrf91 -o webroot/crates/embassy-net-nrf91/git.zup |
| 46 | docserver-builder -i ./embassy-net-driver-channel -o webroot/crates/embassy-net-driver-channel/git.zup | 50 | docserver build -c -i ./embassy-net-driver -o webroot/crates/embassy-net-driver/git.zup |
| 47 | docserver-builder -i ./embassy-net-wiznet -o webroot/crates/embassy-net-wiznet/git.zup | 51 | docserver build -c -i ./embassy-net-driver-channel -o webroot/crates/embassy-net-driver-channel/git.zup |
| 48 | docserver-builder -i ./embassy-net-ppp -o webroot/crates/embassy-net-ppp/git.zup | 52 | docserver build -c -i ./embassy-net-wiznet -o webroot/crates/embassy-net-wiznet/git.zup |
| 49 | docserver-builder -i ./embassy-net-tuntap -o webroot/crates/embassy-net-tuntap/git.zup | 53 | docserver build -c -i ./embassy-net-ppp -o webroot/crates/embassy-net-ppp/git.zup |
| 50 | docserver-builder -i ./embassy-net-enc28j60 -o webroot/crates/embassy-net-enc28j60/git.zup | 54 | docserver build -c -i ./embassy-net-tuntap -o webroot/crates/embassy-net-tuntap/git.zup |
| 51 | docserver-builder -i ./embassy-net-esp-hosted -o webroot/crates/embassy-net-esp-hosted/git.zup | 55 | docserver build -c -i ./embassy-net-enc28j60 -o webroot/crates/embassy-net-enc28j60/git.zup |
| 52 | docserver-builder -i ./embassy-net-adin1110 -o webroot/crates/embassy-net-adin1110/git.zup | 56 | docserver build -c -i ./embassy-net-esp-hosted -o webroot/crates/embassy-net-esp-hosted/git.zup |
| 57 | docserver build -c -i ./embassy-net-adin1110 -o webroot/crates/embassy-net-adin1110/git.zup | ||
| 53 | 58 | ||
| 54 | export KUBECONFIG=/ci/secrets/kubeconfig.yml | 59 | export KUBECONFIG=/ci/secrets/kubeconfig.yml |
| 55 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) | 60 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) |
| @@ -60,6 +65,6 @@ kubectl cp webroot/static $POD:/data | |||
| 60 | # so that it doesn't prevent other crates from getting docs updates when it breaks. | 65 | # so that it doesn't prevent other crates from getting docs updates when it breaks. |
| 61 | 66 | ||
| 62 | rm -rf webroot | 67 | rm -rf webroot |
| 63 | docserver-builder -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup | 68 | docserver build -c -i ./embassy-stm32 -o webroot/crates/embassy-stm32/git.zup |
| 64 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) | 69 | POD=$(kubectl -n embassy get po -l app=docserver -o jsonpath={.items[0].metadata.name}) |
| 65 | kubectl cp webroot/crates $POD:/data | 70 | kubectl cp webroot/crates $POD:/data |
diff --git a/.github/ci/test.sh b/.github/ci/test.sh index c9b332cf8..33dfa48c9 100755 --- a/.github/ci/test.sh +++ b/.github/ci/test.sh | |||
| @@ -12,7 +12,7 @@ export CARGO_TARGET_DIR=/ci/cache/target | |||
| 12 | # used when pointing stm32-metapac to a CI-built one. | 12 | # used when pointing stm32-metapac to a CI-built one. |
| 13 | export CARGO_NET_GIT_FETCH_WITH_CLI=true | 13 | export CARGO_NET_GIT_FETCH_WITH_CLI=true |
| 14 | 14 | ||
| 15 | cargo test --manifest-path ./embassy-executor/Cargo.toml | 15 | cargo test --manifest-path ./embassy-executor/Cargo.toml --features metadata-name |
| 16 | cargo test --manifest-path ./embassy-futures/Cargo.toml | 16 | cargo test --manifest-path ./embassy-futures/Cargo.toml |
| 17 | cargo test --manifest-path ./embassy-sync/Cargo.toml | 17 | cargo test --manifest-path ./embassy-sync/Cargo.toml |
| 18 | cargo test --manifest-path ./embassy-embedded-hal/Cargo.toml | 18 | cargo test --manifest-path ./embassy-embedded-hal/Cargo.toml |
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 000000000..8ee143cad --- /dev/null +++ b/.github/workflows/changelog.yml | |||
| @@ -0,0 +1,362 @@ | |||
| 1 | name: Changelog check | ||
| 2 | |||
| 3 | on: | ||
| 4 | pull_request: | ||
| 5 | # We will not track changes for the following packages/directories. | ||
| 6 | paths-ignore: | ||
| 7 | - "/examples/" | ||
| 8 | - "/docs/" | ||
| 9 | - "/out/" | ||
| 10 | - "/tests/" | ||
| 11 | - "/release/" | ||
| 12 | - "/cyw43-firmware/" | ||
| 13 | # Run on labeled/unlabeled in addition to defaults to detect | ||
| 14 | # adding/removing skip-changelog labels. | ||
| 15 | types: [opened, reopened, labeled, unlabeled, synchronize] | ||
| 16 | |||
| 17 | jobs: | ||
| 18 | changelog: | ||
| 19 | runs-on: ubuntu-latest | ||
| 20 | |||
| 21 | steps: | ||
| 22 | - name: Checkout sources | ||
| 23 | uses: actions/checkout@v4 | ||
| 24 | |||
| 25 | - name: Check which package is modified | ||
| 26 | uses: dorny/paths-filter@v3 | ||
| 27 | id: changes | ||
| 28 | with: | ||
| 29 | filters: | | ||
| 30 | cyw43: | ||
| 31 | - 'cyw43/**' | ||
| 32 | cyw43-pio: | ||
| 33 | - 'cyw43-pio/**' | ||
| 34 | embassy-boot: | ||
| 35 | - 'embassy-boot/**' | ||
| 36 | embassy-boot-nrf: | ||
| 37 | - 'embassy-boot-nrf/**' | ||
| 38 | embassy-boot-rp: | ||
| 39 | - 'embassy-boot-rp/**' | ||
| 40 | embassy-boot-stm32: | ||
| 41 | - 'embassy-boot-stm32/**' | ||
| 42 | embassy-embedded-hal: | ||
| 43 | - 'embassy-embedded-hal/**' | ||
| 44 | embassy-executor: | ||
| 45 | - 'embassy-executor/**' | ||
| 46 | embassy-executor-macros: | ||
| 47 | - 'embassy-executor-macros/**' | ||
| 48 | embassy-executor-timer-queue: | ||
| 49 | - 'embassy-executor-timer-queue/**' | ||
| 50 | embassy-futures: | ||
| 51 | - 'embassy-futures/**' | ||
| 52 | embassy-imxrt: | ||
| 53 | - 'embassy-imxrt/**' | ||
| 54 | embassy-mspm0: | ||
| 55 | - 'embassy-mspm0/**' | ||
| 56 | embassy-net: | ||
| 57 | - 'embassy-net/**' | ||
| 58 | embassy-net-adin1110: | ||
| 59 | - 'embassy-net-adin1110/**' | ||
| 60 | embassy-net-driver: | ||
| 61 | - 'embassy-net-driver/**' | ||
| 62 | embassy-net-driver-channel: | ||
| 63 | - 'embassy-net-driver-channel/**' | ||
| 64 | embassy-net-enc28j60: | ||
| 65 | - 'embassy-net-enc28j60/**' | ||
| 66 | embassy-net-esp-hosted: | ||
| 67 | - 'embassy-net-esp-hosted/**' | ||
| 68 | embassy-net-nrf91: | ||
| 69 | - 'embassy-net-nrf91/**' | ||
| 70 | embassy-net-ppp: | ||
| 71 | - 'embassy-net-ppp/**' | ||
| 72 | embassy-net-tuntap: | ||
| 73 | - 'embassy-net-tuntap/**' | ||
| 74 | embassy-net-wiznet: | ||
| 75 | - 'embassy-net-wiznet/**' | ||
| 76 | embassy-nrf: | ||
| 77 | - 'embassy-nrf/**' | ||
| 78 | embassy-nxp: | ||
| 79 | - 'embassy-nxp/**' | ||
| 80 | embassy-rp: | ||
| 81 | - 'embassy-rp/**' | ||
| 82 | embassy-stm32: | ||
| 83 | - 'embassy-stm32/**' | ||
| 84 | embassy-stm32-wpan: | ||
| 85 | - 'embassy-stm32-wpan/**' | ||
| 86 | embassy-sync: | ||
| 87 | - 'embassy-sync/**' | ||
| 88 | embassy-time: | ||
| 89 | - 'embassy-time/**' | ||
| 90 | embassy-time-driver: | ||
| 91 | - 'embassy-time-driver/**' | ||
| 92 | embassy-time-queue-utils: | ||
| 93 | - 'embassy-time-queue-utils/**' | ||
| 94 | embassy-usb: | ||
| 95 | - 'embassy-usb/**' | ||
| 96 | embassy-usb-dfu: | ||
| 97 | - 'embassy-usb-dfu/**' | ||
| 98 | embassy-usb-driver: | ||
| 99 | - 'embassy-usb-driver/**' | ||
| 100 | embassy-usb-logger: | ||
| 101 | - 'embassy-usb-logger/**' | ||
| 102 | embassy-usb-synopsys-otg: | ||
| 103 | - 'embassy-usb-synopsys-otg/**' | ||
| 104 | - name: Check that changelog updated (cyw43) | ||
| 105 | if: steps.changes.outputs.cyw43 == 'true' | ||
| 106 | uses: dangoslen/changelog-enforcer@v3 | ||
| 107 | with: | ||
| 108 | changeLogPath: cyw43/CHANGELOG.md | ||
| 109 | skipLabels: "skip-changelog" | ||
| 110 | missingUpdateErrorMessage: "Please add a changelog entry in the cyw43/CHANGELOG.md file." | ||
| 111 | - name: Check that changelog updated (cyw43-pio) | ||
| 112 | if: steps.changes.outputs.cyw43-pio == 'true' | ||
| 113 | uses: dangoslen/changelog-enforcer@v3 | ||
| 114 | with: | ||
| 115 | changeLogPath: cyw43-pio/CHANGELOG.md | ||
| 116 | skipLabels: "skip-changelog" | ||
| 117 | missingUpdateErrorMessage: "Please add a changelog entry in the cyw43-pio/CHANGELOG.md file." | ||
| 118 | - name: Check that changelog updated (embassy-boot) | ||
| 119 | if: steps.changes.outputs.embassy-boot == 'true' | ||
| 120 | uses: dangoslen/changelog-enforcer@v3 | ||
| 121 | with: | ||
| 122 | changeLogPath: embassy-boot/CHANGELOG.md | ||
| 123 | skipLabels: "skip-changelog" | ||
| 124 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-boot/CHANGELOG.md file." | ||
| 125 | - name: Check that changelog updated (embassy-boot-nrf) | ||
| 126 | if: steps.changes.outputs.embassy-boot-nrf == 'true' | ||
| 127 | uses: dangoslen/changelog-enforcer@v3 | ||
| 128 | with: | ||
| 129 | changeLogPath: embassy-boot-nrf/CHANGELOG.md | ||
| 130 | skipLabels: "skip-changelog" | ||
| 131 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-boot-nrf/CHANGELOG.md file." | ||
| 132 | - name: Check that changelog updated (embassy-boot-rp) | ||
| 133 | if: steps.changes.outputs.embassy-boot-rp == 'true' | ||
| 134 | uses: dangoslen/changelog-enforcer@v3 | ||
| 135 | with: | ||
| 136 | changeLogPath: embassy-boot-rp/CHANGELOG.md | ||
| 137 | skipLabels: "skip-changelog" | ||
| 138 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-boot-rp/CHANGELOG.md file." | ||
| 139 | - name: Check that changelog updated (embassy-boot-stm32) | ||
| 140 | if: steps.changes.outputs.embassy-boot-stm32 == 'true' | ||
| 141 | uses: dangoslen/changelog-enforcer@v3 | ||
| 142 | with: | ||
| 143 | changeLogPath: embassy-boot-stm32/CHANGELOG.md | ||
| 144 | skipLabels: "skip-changelog" | ||
| 145 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-boot-stm32/CHANGELOG.md file." | ||
| 146 | - name: Check that changelog updated (embassy-embedded-hal) | ||
| 147 | if: steps.changes.outputs.embassy-embedded-hal == 'true' | ||
| 148 | uses: dangoslen/changelog-enforcer@v3 | ||
| 149 | with: | ||
| 150 | changeLogPath: embassy-embedded-hal/CHANGELOG.md | ||
| 151 | skipLabels: "skip-changelog" | ||
| 152 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-embedded-hal/CHANGELOG.md file." | ||
| 153 | - name: Check that changelog updated (embassy-executor) | ||
| 154 | if: steps.changes.outputs.embassy-executor == 'true' | ||
| 155 | uses: dangoslen/changelog-enforcer@v3 | ||
| 156 | with: | ||
| 157 | changeLogPath: embassy-executor/CHANGELOG.md | ||
| 158 | skipLabels: "skip-changelog" | ||
| 159 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-executor/CHANGELOG.md file." | ||
| 160 | - name: Check that changelog updated (embassy-executor-macros) | ||
| 161 | if: steps.changes.outputs.embassy-executor-macros == 'true' | ||
| 162 | uses: dangoslen/changelog-enforcer@v3 | ||
| 163 | with: | ||
| 164 | changeLogPath: embassy-executor/CHANGELOG.md | ||
| 165 | skipLabels: "skip-changelog" | ||
| 166 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-executor/CHANGELOG.md file." | ||
| 167 | - name: Check that changelog updated (embassy-executor-timer-queue) | ||
| 168 | if: steps.changes.outputs.embassy-executor-timer-queue == 'true' | ||
| 169 | uses: dangoslen/changelog-enforcer@v3 | ||
| 170 | with: | ||
| 171 | changeLogPath: embassy-executor-timer-queue/CHANGELOG.md | ||
| 172 | skipLabels: "skip-changelog" | ||
| 173 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-executor-timer-queue/CHANGELOG.md file." | ||
| 174 | - name: Check that changelog updated (embassy-futures) | ||
| 175 | if: steps.changes.outputs.embassy-futures == 'true' | ||
| 176 | uses: dangoslen/changelog-enforcer@v3 | ||
| 177 | with: | ||
| 178 | changeLogPath: embassy-futures/CHANGELOG.md | ||
| 179 | skipLabels: "skip-changelog" | ||
| 180 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-futures/CHANGELOG.md file." | ||
| 181 | - name: Check that changelog updated (embassy-imxrt) | ||
| 182 | if: steps.changes.outputs.embassy-imxrt == 'true' | ||
| 183 | uses: dangoslen/changelog-enforcer@v3 | ||
| 184 | with: | ||
| 185 | changeLogPath: embassy-imxrt/CHANGELOG.md | ||
| 186 | skipLabels: "skip-changelog" | ||
| 187 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-imxrt/CHANGELOG.md file." | ||
| 188 | - name: Check that changelog updated (embassy-mspm0) | ||
| 189 | if: steps.changes.outputs.embassy-mspm0 == 'true' | ||
| 190 | uses: dangoslen/changelog-enforcer@v3 | ||
| 191 | with: | ||
| 192 | changeLogPath: embassy-mspm0/CHANGELOG.md | ||
| 193 | skipLabels: "skip-changelog" | ||
| 194 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-mspm0/CHANGELOG.md file." | ||
| 195 | - name: Check that changelog updated (embassy-net) | ||
| 196 | if: steps.changes.outputs.embassy-net == 'true' | ||
| 197 | uses: dangoslen/changelog-enforcer@v3 | ||
| 198 | with: | ||
| 199 | changeLogPath: embassy-net/CHANGELOG.md | ||
| 200 | skipLabels: "skip-changelog" | ||
| 201 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net/CHANGELOG.md file." | ||
| 202 | - name: Check that changelog updated (embassy-net-adin1110) | ||
| 203 | if: steps.changes.outputs.embassy-net-adin1110 == 'true' | ||
| 204 | uses: dangoslen/changelog-enforcer@v3 | ||
| 205 | with: | ||
| 206 | changeLogPath: embassy-net-adin1110/CHANGELOG.md | ||
| 207 | skipLabels: "skip-changelog" | ||
| 208 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-adin1110/CHANGELOG.md file." | ||
| 209 | - name: Check that changelog updated (embassy-net-driver) | ||
| 210 | if: steps.changes.outputs.embassy-net-driver == 'true' | ||
| 211 | uses: dangoslen/changelog-enforcer@v3 | ||
| 212 | with: | ||
| 213 | changeLogPath: embassy-net-driver/CHANGELOG.md | ||
| 214 | skipLabels: "skip-changelog" | ||
| 215 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-driver/CHANGELOG.md file." | ||
| 216 | - name: Check that changelog updated (embassy-net-driver-channel) | ||
| 217 | if: steps.changes.outputs.embassy-net-driver-channel == 'true' | ||
| 218 | uses: dangoslen/changelog-enforcer@v3 | ||
| 219 | with: | ||
| 220 | changeLogPath: embassy-net-driver-channel/CHANGELOG.md | ||
| 221 | skipLabels: "skip-changelog" | ||
| 222 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-driver-channel/CHANGELOG.md file." | ||
| 223 | - name: Check that changelog updated (embassy-net-enc28j60) | ||
| 224 | if: steps.changes.outputs.embassy-net-enc28j60 == 'true' | ||
| 225 | uses: dangoslen/changelog-enforcer@v3 | ||
| 226 | with: | ||
| 227 | changeLogPath: embassy-net-enc28j60/CHANGELOG.md | ||
| 228 | skipLabels: "skip-changelog" | ||
| 229 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-enc28j60/CHANGELOG.md file." | ||
| 230 | - name: Check that changelog updated (embassy-net-esp-hosted) | ||
| 231 | if: steps.changes.outputs.embassy-net-esp-hosted == 'true' | ||
| 232 | uses: dangoslen/changelog-enforcer@v3 | ||
| 233 | with: | ||
| 234 | changeLogPath: embassy-net-esp-hosted/CHANGELOG.md | ||
| 235 | skipLabels: "skip-changelog" | ||
| 236 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-esp-hosted/CHANGELOG.md file." | ||
| 237 | - name: Check that changelog updated (embassy-net-nrf91) | ||
| 238 | if: steps.changes.outputs.embassy-net-nrf91 == 'true' | ||
| 239 | uses: dangoslen/changelog-enforcer@v3 | ||
| 240 | with: | ||
| 241 | changeLogPath: embassy-net-nrf91/CHANGELOG.md | ||
| 242 | skipLabels: "skip-changelog" | ||
| 243 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-nrf91/CHANGELOG.md file." | ||
| 244 | - name: Check that changelog updated (embassy-net-ppp) | ||
| 245 | if: steps.changes.outputs.embassy-net-ppp == 'true' | ||
| 246 | uses: dangoslen/changelog-enforcer@v3 | ||
| 247 | with: | ||
| 248 | changeLogPath: embassy-net-ppp/CHANGELOG.md | ||
| 249 | skipLabels: "skip-changelog" | ||
| 250 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-ppp/CHANGELOG.md file." | ||
| 251 | - name: Check that changelog updated (embassy-net-tuntap) | ||
| 252 | if: steps.changes.outputs.embassy-net-tuntap == 'true' | ||
| 253 | uses: dangoslen/changelog-enforcer@v3 | ||
| 254 | with: | ||
| 255 | changeLogPath: embassy-net-tuntap/CHANGELOG.md | ||
| 256 | skipLabels: "skip-changelog" | ||
| 257 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-tuntap/CHANGELOG.md file." | ||
| 258 | - name: Check that changelog updated (embassy-net-wiznet) | ||
| 259 | if: steps.changes.outputs.embassy-net-wiznet == 'true' | ||
| 260 | uses: dangoslen/changelog-enforcer@v3 | ||
| 261 | with: | ||
| 262 | changeLogPath: embassy-net-wiznet/CHANGELOG.md | ||
| 263 | skipLabels: "skip-changelog" | ||
| 264 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-net-wiznet/CHANGELOG.md file." | ||
| 265 | - name: Check that changelog updated (embassy-nrf) | ||
| 266 | if: steps.changes.outputs.embassy-nrf == 'true' | ||
| 267 | uses: dangoslen/changelog-enforcer@v3 | ||
| 268 | with: | ||
| 269 | changeLogPath: embassy-nrf/CHANGELOG.md | ||
| 270 | skipLabels: "skip-changelog" | ||
| 271 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-nrf/CHANGELOG.md file." | ||
| 272 | - name: Check that changelog updated (embassy-nxp) | ||
| 273 | if: steps.changes.outputs.embassy-nxp == 'true' | ||
| 274 | uses: dangoslen/changelog-enforcer@v3 | ||
| 275 | with: | ||
| 276 | changeLogPath: embassy-nxp/CHANGELOG.md | ||
| 277 | skipLabels: "skip-changelog" | ||
| 278 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-nxp/CHANGELOG.md file." | ||
| 279 | - name: Check that changelog updated (embassy-rp) | ||
| 280 | if: steps.changes.outputs.embassy-rp == 'true' | ||
| 281 | uses: dangoslen/changelog-enforcer@v3 | ||
| 282 | with: | ||
| 283 | changeLogPath: embassy-rp/CHANGELOG.md | ||
| 284 | skipLabels: "skip-changelog" | ||
| 285 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-rp/CHANGELOG.md file." | ||
| 286 | - name: Check that changelog updated (embassy-stm32) | ||
| 287 | if: steps.changes.outputs.embassy-stm32 == 'true' | ||
| 288 | uses: dangoslen/changelog-enforcer@v3 | ||
| 289 | with: | ||
| 290 | changeLogPath: embassy-stm32/CHANGELOG.md | ||
| 291 | skipLabels: "skip-changelog" | ||
| 292 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-stm32/CHANGELOG.md file." | ||
| 293 | - name: Check that changelog updated (embassy-stm32-wpan) | ||
| 294 | if: steps.changes.outputs.embassy-stm32-wpan == 'true' | ||
| 295 | uses: dangoslen/changelog-enforcer@v3 | ||
| 296 | with: | ||
| 297 | changeLogPath: embassy-stm32-wpan/CHANGELOG.md | ||
| 298 | skipLabels: "skip-changelog" | ||
| 299 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-stm32-wpan/CHANGELOG.md file." | ||
| 300 | - name: Check that changelog updated (embassy-sync) | ||
| 301 | if: steps.changes.outputs.embassy-sync == 'true' | ||
| 302 | uses: dangoslen/changelog-enforcer@v3 | ||
| 303 | with: | ||
| 304 | changeLogPath: embassy-sync/CHANGELOG.md | ||
| 305 | skipLabels: "skip-changelog" | ||
| 306 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-sync/CHANGELOG.md file." | ||
| 307 | - name: Check that changelog updated (embassy-time) | ||
| 308 | if: steps.changes.outputs.embassy-time == 'true' | ||
| 309 | uses: dangoslen/changelog-enforcer@v3 | ||
| 310 | with: | ||
| 311 | changeLogPath: embassy-time/CHANGELOG.md | ||
| 312 | skipLabels: "skip-changelog" | ||
| 313 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-time/CHANGELOG.md file." | ||
| 314 | - name: Check that changelog updated (embassy-time-driver) | ||
| 315 | if: steps.changes.outputs.embassy-time-driver == 'true' | ||
| 316 | uses: dangoslen/changelog-enforcer@v3 | ||
| 317 | with: | ||
| 318 | changeLogPath: embassy-time-driver/CHANGELOG.md | ||
| 319 | skipLabels: "skip-changelog" | ||
| 320 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-time-driver/CHANGELOG.md file." | ||
| 321 | - name: Check that changelog updated (embassy-time-queue-utils) | ||
| 322 | if: steps.changes.outputs.embassy-time-queue-utils == 'true' | ||
| 323 | uses: dangoslen/changelog-enforcer@v3 | ||
| 324 | with: | ||
| 325 | changeLogPath: embassy-time-queue-utils/CHANGELOG.md | ||
| 326 | skipLabels: "skip-changelog" | ||
| 327 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-time-queue-utils/CHANGELOG.md file." | ||
| 328 | - name: Check that changelog updated (embassy-usb) | ||
| 329 | if: steps.changes.outputs.embassy-usb == 'true' | ||
| 330 | uses: dangoslen/changelog-enforcer@v3 | ||
| 331 | with: | ||
| 332 | changeLogPath: embassy-usb/CHANGELOG.md | ||
| 333 | skipLabels: "skip-changelog" | ||
| 334 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-usb/CHANGELOG.md file." | ||
| 335 | - name: Check that changelog updated (embassy-usb-dfu) | ||
| 336 | if: steps.changes.outputs.embassy-usb-dfu == 'true' | ||
| 337 | uses: dangoslen/changelog-enforcer@v3 | ||
| 338 | with: | ||
| 339 | changeLogPath: embassy-usb-dfu/CHANGELOG.md | ||
| 340 | skipLabels: "skip-changelog" | ||
| 341 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-usb-dfu/CHANGELOG.md file." | ||
| 342 | - name: Check that changelog updated (embassy-usb-driver) | ||
| 343 | if: steps.changes.outputs.embassy-usb-driver == 'true' | ||
| 344 | uses: dangoslen/changelog-enforcer@v3 | ||
| 345 | with: | ||
| 346 | changeLogPath: embassy-usb-driver/CHANGELOG.md | ||
| 347 | skipLabels: "skip-changelog" | ||
| 348 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-usb-driver/CHANGELOG.md file." | ||
| 349 | - name: Check that changelog updated (embassy-usb-logger) | ||
| 350 | if: steps.changes.outputs.embassy-usb-logger == 'true' | ||
| 351 | uses: dangoslen/changelog-enforcer@v3 | ||
| 352 | with: | ||
| 353 | changeLogPath: embassy-usb-logger/CHANGELOG.md | ||
| 354 | skipLabels: "skip-changelog" | ||
| 355 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-usb-logger/CHANGELOG.md file." | ||
| 356 | - name: Check that changelog updated (embassy-usb-synopsys-otg) | ||
| 357 | if: steps.changes.outputs.embassy-usb-synopsys-otg == 'true' | ||
| 358 | uses: dangoslen/changelog-enforcer@v3 | ||
| 359 | with: | ||
| 360 | changeLogPath: embassy-usb-synopsys-otg/CHANGELOG.md | ||
| 361 | skipLabels: "skip-changelog" | ||
| 362 | missingUpdateErrorMessage: "Please add a changelog entry in the embassy-usb-synopsys-otg/CHANGELOG.md file." | ||
