Bump clechasseur/rs-cargo from 2.0.6 to 3.0.1 #372
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |