Skip to content

Commit

Permalink
Merge branch 'main' into update-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sporkmonger authored Dec 31, 2024
2 parents 6ac8a4a + f6e8eb9 commit 52ec62e
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 37 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,38 @@ jobs:
with:
command: check
command-arguments: all

up-to-date-plugins:
name: Up-to-date plugins
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Ensure plugins are up-to-date
run: |
#!/bin/bash
set -euo pipefail
PLUGINS=(
"tests/plugins/multi-phase-plugin-a"
"tests/plugins/multi-phase-plugin-b"
"tests/plugins/redis-plugin"
"tests/plugins/smoke-test"
"crates/sdk/examples/evil-bit"
"crates/sdk/examples/blank-slate"
)
for plugin in "${PLUGINS[@]}"; do
echo "Updating plugin: $plugin"
(
cd "$plugin"
if ! cargo update; then
echo "::error::Failed to update $plugin"
exit 1
fi
)
done
- name: Ensure non-dirty repo
run: git diff --exit-code
25 changes: 0 additions & 25 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,30 +146,5 @@ jobs:
- name: Kill Envoy service
run: /usr/bin/docker kill envoy

- name: Ensure test plugins are up-to-date
run: |
#!/bin/bash
set -euo pipefail
PLUGINS=(
"tests/plugins/multi-phase-plugin-a"
"tests/plugins/multi-phase-plugin-b"
"tests/plugins/redis-plugin"
"tests/plugins/smoke-test"
"crates/sdk/examples/evil-bit"
"crates/sdk/examples/blank-slate"
)
for plugin in "${PLUGINS[@]}"; do
echo "Updating plugin: $plugin"
(
cd $plugin
if ! cargo update; then
echo "::error::Failed to update $plugin"
exit 1
fi
)
done
- name: Ensure non-dirty repo
run: git diff --exit-code
4 changes: 2 additions & 2 deletions crates/sdk/examples/blank-slate/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/sdk/examples/evil-bit/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/plugins/multi-phase-plugin-a/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/plugins/multi-phase-plugin-b/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/plugins/redis-plugin/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/plugins/smoke-test/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 52ec62e

Please sign in to comment.