Skip to content

Commit a9647ed

Browse files
codebydivineclaude
andcommitted
chore: update deprecated safety check to safety scan
- Updated .github/workflows/security.yml to use 'safety scan --output json --save-as' - Updated .github/workflows/ci.yml to use 'safety scan' - Resolves deprecation warnings about safety check command The safety check command is deprecated and will be unsupported after June 2024. The new scan command is more powerful and easier to use. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 53520c3 commit a9647ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
run: poetry run bandit -r src/ -f txt
8888

8989
- name: Run safety dependency check
90-
run: poetry run safety check
90+
run: poetry run safety scan
9191

9292
build:
9393
runs-on: ubuntu-latest

.github/workflows/security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ jobs:
7070
run: |
7171
poetry install --no-interaction --with dev --no-root
7272
73-
- name: Run Safety check
73+
- name: Run Safety scan
7474
run: |
75-
poetry run safety check --json --output safety-results.json || true
75+
poetry run safety scan --output json --save-as safety-results.json || true
7676
7777
- name: Run Bandit security scan
7878
run: |

0 commit comments

Comments
 (0)