mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-08-03 13:27:01 +03:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user