-
Notifications
You must be signed in to change notification settings - Fork 6
52 lines (45 loc) · 1.18 KB
/
dependencies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: 'Dependency Checks'
on: [pull_request]
permissions:
contents: read
pull-requests: write
jobs:
cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'cargo deny'
uses: EmbarkStudios/cargo-deny-action@v2
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