From d37f41319fba55bc6cebf32c8ec8297f0f4a1ac2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 11:04:05 +0000 Subject: [PATCH 1/2] Initial plan From 2d050d01addc6eea37634e0c6bfda33842bd8030 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 11:07:13 +0000 Subject: [PATCH 2/2] Fix CI/CD pipeline: upgrade deprecated actions to v4/v5 and remove Python 3.7/3.8 from matrix Co-authored-by: VoDaiLocz <88762074+VoDaiLocz@users.noreply.github.com> --- .github/workflows/ci.yml | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4caffac..adb66c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,25 +15,19 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - exclude: - # Exclude some combinations to reduce CI time - - os: macos-latest - python-version: '3.7' - - os: macos-latest - python-version: '3.8' + python-version: ['3.9', '3.10', '3.11'] steps: - name: Checkout code uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Cache pip dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} @@ -78,7 +72,7 @@ jobs: QT_QPA_PLATFORM: offscreen - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml flags: unittests @@ -93,7 +87,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.9' @@ -111,7 +105,7 @@ jobs: safety check --json --output safety-report.json || true - name: Upload security reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: security-reports path: | @@ -131,7 +125,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.9' @@ -159,7 +153,7 @@ jobs: pyinstaller --onefile --windowed --name "QoderResetTool" qoder_reset_gui.py - name: Upload build artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: qoder-reset-tool-${{ runner.os }} path: | @@ -177,7 +171,7 @@ jobs: uses: actions/checkout@v4 - name: Download all artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Create release archives run: | @@ -209,7 +203,7 @@ jobs: fetch-depth: 0 # Shallow clones should be disabled for better analysis - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.9' @@ -228,7 +222,7 @@ jobs: mypy qoder_reset_gui.py --ignore-missing-imports --json-report mypy-report || true - name: Upload code quality reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: code-quality-reports path: | @@ -244,7 +238,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.9' @@ -264,7 +258,7 @@ jobs: cd docs && make html - name: Upload documentation - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: documentation path: docs/_build/html/