From dcc91b9f49260edd86e7c4992db4f426fb3e3cba Mon Sep 17 00:00:00 2001 From: Stiftung Development Date: Sat, 6 Sep 2025 18:41:08 +0200 Subject: [PATCH] fix: update GitHub Actions to use latest versions - Update actions/upload-artifact from v3 to v4 - Update actions/setup-python from v4 to v5 - Update actions/cache from v3 to v4 - Fixes deprecation warnings in CI/CD pipeline --- .github/workflows/ci-cd.yml | 4 ++-- .github/workflows/code-quality.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index a9e09c5..fa6453d 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -38,12 +38,12 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Cache pip dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('app/requirements.txt') }} diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index ce7b5d6..7e82bc6 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' @@ -45,7 +45,7 @@ jobs: bandit -r app -f json -o bandit-report.json || true - name: Upload security report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: bandit-security-report