From 799398c6d3dea7d6c5d937c20b9bb3da49495acf Mon Sep 17 00:00:00 2001 From: magikh0e <35289504+magikh0e@users.noreply.github.com> Date: Fri, 5 Jun 2026 18:16:11 -1000 Subject: [PATCH 1/2] ci: update actions to clear the Node 20 deprecation warning Bump actions/checkout and actions/setup-python to v6 and codecov/codecov-action to v6 (their current latest majors, on a supported Node runtime) so GitHub stops flagging the deprecated Node 20 action runtime. Also rename codecov's deprecated `file` input to `files`. --- .github/workflows/python-publish.yml | 4 ++-- .github/workflows/test.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index bdaab28..ace7fb8 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,9 +21,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v6 with: python-version: '3.x' - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4655e95..b696ad3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,10 +19,10 @@ jobs: python-version: ["3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} cache: 'pip' @@ -50,10 +50,10 @@ jobs: pytest --cov=drone_mobile --cov-report=xml --cov-report=term-missing - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v6 if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' with: - file: ./coverage.xml + files: ./coverage.xml flags: unittests name: codecov-umbrella fail_ci_if_error: false @@ -61,10 +61,10 @@ jobs: security: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: "3.11" From 903c2f70ed9890159512e8c8227f23d721f4a57f Mon Sep 17 00:00:00 2001 From: magikh0e <35289504+magikh0e@users.noreply.github.com> Date: Fri, 5 Jun 2026 18:17:40 -1000 Subject: [PATCH 2/2] ci: run tests on master pushes and PRs The workflow triggered on main/develop, but this repo's default branch is master, so the test job did not run on pushes or PRs to master. Point the triggers at master so CI actually gates changes. --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b696ad3..acc6391 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,9 +2,9 @@ name: Tests on: push: - branches: [ main, develop ] + branches: [ master, develop ] pull_request: - branches: [ main, develop ] + branches: [ master, develop ] permissions: contents: read