From 132d6bfc8679e9482c0b26f10bfefd32cc97f407 Mon Sep 17 00:00:00 2001 From: RodoMa92 Date: Tue, 14 Jul 2026 16:20:27 +0200 Subject: Upstream action workflows. Updated older action workflows and adapted the with variables where needed. Python has been also bumped to the latest 3.11 LTS release, but we will probably need to consider a mayor version bump in the future, since it has only ~ 1 year of security updates. --- .github/workflows/build-win.yml | 10 +++++----- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/edit-check.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/typecheck.yml | 18 +++++++++--------- 6 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml index 6fa99b8e..fdd66b39 100644 --- a/.github/workflows/build-win.yml +++ b/.github/workflows/build-win.yml @@ -16,15 +16,15 @@ jobs: - name: Checkout 🧰 uses: actions/checkout@v4 - - name: Set up NodeJS 20 💎 - uses: actions/setup-node@v4 + - name: Set up NodeJS LTS 💎 + uses: actions/setup-node@v7 with: - node-version: 20 + node-version: "lts/*" - - name: Set up Python 3.11.7 🐍 + - name: Set up Python 3.11 🐍 uses: actions/setup-python@v5 with: - python-version: "3.11.7" + python-version: "3.11" - name: Install Poetry uses: snok/install-poetry@v1 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a0f2b90..8fc097ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,19 +14,19 @@ jobs: steps: - name: Checkout 🧰 - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - - name: Set up NodeJS 20 💎 - uses: actions/setup-node@v4 + - name: Set up NodeJS LTS 💎 + uses: actions/setup-node@v7 with: - node-version: 20 + node-version: "lts/*" - - name: Set up Python 3.11.7 🐍 - uses: actions/setup-python@v5 + - name: Set up Python 3.11 🐍 + uses: actions/setup-python@v6 with: - python-version: "3.11.7" + python-version: "3.11" - name: Install Poetry uses: snok/install-poetry@v1 @@ -57,13 +57,13 @@ jobs: - name: Upload package artifact ⬆️ if: ${{ !env.ACT }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: PluginLoader path: ./backend/dist/PluginLoader - name: Download package artifact locally if: ${{ env.ACT }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: path: ./backend/dist/PluginLoader diff --git a/.github/workflows/edit-check.yml b/.github/workflows/edit-check.yml index 519d9e3e..567219d4 100644 --- a/.github/workflows/edit-check.yml +++ b/.github/workflows/edit-check.yml @@ -14,7 +14,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Get changed files id: changed-files diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3ff65531..81dd1ea3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 # Check out the repository first. + - uses: actions/checkout@v7 # Check out the repository first. - name: Install TypeScript dependencies working-directory: frontend diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac1637e4..5c3d9bd4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: steps: - name: Checkout 🧰 - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Install semver-tool asdf uses: asdf-vm/actions/install@v4 @@ -132,7 +132,7 @@ jobs: needs: [create_tag, build] steps: - name: Fetch package artifact ⬇️ - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: PluginLoader diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index 20e71437..9077ca45 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -10,17 +10,17 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 # Check out the repository first. + - uses: actions/checkout@v7 # Check out the repository first. - - name: Set up NodeJS 20 💎 - uses: actions/setup-node@v4 + - name: Set up NodeJS LTS 💎 + uses: actions/setup-node@v7 with: - node-version: 20 + node-version: "lts/*" - - name: Set up Python 3.11.7 🐍 - uses: actions/setup-python@v5 + - name: Set up Python 3.11 🐍 + uses: actions/setup-python@v6 with: - python-version: "3.11.7" + python-version: "3.11" - name: Install Poetry uses: snok/install-poetry@v1 @@ -38,10 +38,10 @@ jobs: pnpm i --frozen-lockfile --dangerously-allow-all-builds - name: Run pyright (Python) - uses: jakebailey/pyright-action@v1 + uses: jakebailey/pyright-action@v3 with: python-version: "3.10.6" - no-comments: true + annotate: "none" working-directory: backend - name: Run tsc (TypeScript) -- cgit v1.2.3