chore: Update outdated GitHub Actions versions (#7326)

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
This commit is contained in:
Pádraic Slattery
2026-01-27 17:34:00 +01:00
committed by GitHub
parent e0868c73d1
commit 8b2fc16f1d
15 changed files with 57 additions and 57 deletions

View File

@@ -25,7 +25,7 @@ jobs:
working-directory: desktop
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Import Code Signing Certificate
uses: apple-actions/import-codesign-certs@v3
@@ -38,7 +38,7 @@ jobs:
p12-password: ${{ secrets.MACOS_CERTIFICATE_PWD }}
- name: Setup Cargo Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.cargo/registry
@@ -48,7 +48,7 @@ jobs:
macos-x64-cargo-registry-
- name: Setup Node Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.npm
key: macos-x64-node-${{ hashFiles('desktop/**/package-lock.json') }}
@@ -56,7 +56,7 @@ jobs:
macos-x64-node-
- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: lts/*
@@ -103,7 +103,7 @@ jobs:
for file in *.app.tar.gz.sig; do mv "$file" "Open-Data-Platform_${VERSION}_x86_64.app.tar.gz.sig"; done
- name: Upload Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: macos-x64-artifacts
path: |

View File

@@ -25,7 +25,7 @@ jobs:
working-directory: desktop
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Import Code Signing Certificate
uses: apple-actions/import-codesign-certs@v3
@@ -38,7 +38,7 @@ jobs:
p12-password: ${{ secrets.MACOS_CERTIFICATE_PWD }}
- name: Setup Cargo Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.cargo/registry
@@ -48,7 +48,7 @@ jobs:
macos-arm-cargo-registry-
- name: Setup Node Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.npm
key: macos-arm-node-${{ hashFiles('desktop/**/package-lock.json') }}
@@ -56,7 +56,7 @@ jobs:
macos-arm-node-
- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: lts/*
@@ -104,7 +104,7 @@ jobs:
for file in *.app.tar.gz.sig; do mv "$file" "Open-Data-Platform_${VERSION}_aarch64.app.tar.gz.sig"; done
- name: Upload Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: macos-arm-artifacts
path: |

View File

@@ -26,10 +26,10 @@ jobs:
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Cache vcpkg
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ env.VCPKG_ROOT }}
key: ${{ runner.os }}-vcpkg-${{ hashFiles('desktop/**/vcpkg.json') }}
@@ -118,7 +118,7 @@ jobs:
Get-ChildItem -Path "${{ github.workspace }}/desktop/src-tauri/*.dll"
- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: lts/*
@@ -129,7 +129,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.cargo/registry
@@ -139,7 +139,7 @@ jobs:
windows-x64-cargo-registry-
- name: Cache cargo build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: desktop/target
key: windows-x64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
@@ -250,7 +250,7 @@ jobs:
--password $env:TAURI_SIGNING_PRIVATE_KEY_PASSWORD
- name: Upload Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: windows-x64-artifacts
path: ${{ github.workspace }}/desktop/signed-installer/

View File

@@ -61,7 +61,7 @@ jobs:
config-file: .github/codeql/desktop-only.yml
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`

View File

@@ -41,7 +41,7 @@ jobs:
contents: write
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
path: artifacts
@@ -66,7 +66,7 @@ jobs:
echo "assets_path=./release_assets" >> $GITHUB_OUTPUT
- name: Create VERSIONED release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.extract_version.outputs.versioned_tag }}
name: ${{ steps.extract_version.outputs.release_name }}

View File

@@ -27,7 +27,7 @@ jobs:
contents: read
steps:
- name: Checkout Code
uses: actions/checkout@v4.1.1 # actions/checkout v3.0.2
uses: actions/checkout@v6 # actions/checkout v3.0.2
with:
ref: ${{ github.event.pull_request.head.ref || github.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
@@ -38,7 +38,7 @@ jobs:
run: git fetch --no-tags --depth=20 origin ${{ github.base_ref }}
- name: Setup Python 3.10
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"
architecture: x64
@@ -50,7 +50,7 @@ jobs:
echo "diff_files=$(git diff --diff-filter=d --name-only origin/${{ github.base_ref }}...${{ github.head_ref }} | grep -E '^(openbb_platform|cli)/.*\.py$' | grep -v 'openbb_platform/core/openbb/package' | grep -v 'integration' | grep -v 'tests' | xargs)" >> $GITHUB_ENV
echo $diff_files
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ~/.cache/pip
key: ${{ runner.os }}-linting-${{ hashFiles('**/poetry.lock') }}
@@ -96,7 +96,7 @@ jobs:
- name: json-yaml-validate
id: json-yaml-validate
uses: GrantBirki/json-yaml-validate@v2.0.0
uses: GrantBirki/json-yaml-validate@v4
with:
yaml_exclude_regex: "construct.yaml"
use_gitignore: false

View File

@@ -19,11 +19,11 @@ jobs:
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Get branch names.
id: branch-names
uses: tj-actions/branch-names@v8
uses: tj-actions/branch-names@v9
- name: Show Output result for source-branch and target-branch
run: |

View File

@@ -11,12 +11,12 @@ jobs:
contents: read
pull-requests: write
steps:
# - uses: mheap/github-action-required-labels@v1
# - uses: mheap/github-action-required-labels@v5
# with:
# mode: minimum
# count: 1
# labels: "guides, bug, build, docker, docs, feat XS, feat S, feat M, feat L, feat XL, help wanted, refactor, tests, dependencies, release"
- uses: mheap/github-action-required-labels@v1
- uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 0

View File

@@ -17,7 +17,7 @@ jobs:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Set release tag
id: set_tag
@@ -146,7 +146,7 @@ jobs:
cat latest.json
- name: Create ODP release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ODP
name: ODP Desktop (Latest Stable)

View File

@@ -24,18 +24,18 @@ jobs:
["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install Python ${{ matrix.python_version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python_version }}
allow-prereleases: true
cache: "pip"
- name: Cache pip packages
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python_version }}-${{ hashFiles('cli/poetry.lock') }}

View File

@@ -20,10 +20,10 @@ jobs:
run:
working-directory: desktop
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: lts/*
@@ -36,7 +36,7 @@ jobs:
override: true
- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.cargo/registry
@@ -46,7 +46,7 @@ jobs:
macos-x64-cargo-registry-
- name: Cache cargo build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: desktop/target
key: macos-x64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
@@ -63,7 +63,7 @@ jobs:
run: cargo test --all
- name: Cache node_modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: desktop/node_modules
key: macos-x64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}

View File

@@ -20,10 +20,10 @@ jobs:
run:
working-directory: desktop
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: lts/*
@@ -39,7 +39,7 @@ jobs:
run: rustup target add aarch64-apple-darwin
- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.cargo/registry
@@ -49,7 +49,7 @@ jobs:
macos-arm64-cargo-registry-
- name: Cache cargo build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: desktop/target
key: macos-arm64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
@@ -66,7 +66,7 @@ jobs:
run: cargo test --all
- name: Cache node_modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: desktop/node_modules
key: macos-arm64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}

View File

@@ -22,10 +22,10 @@ jobs:
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Cache vcpkg
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ env.VCPKG_ROOT }}
key: ${{ runner.os }}-vcpkg-${{ hashFiles('desktop/**/vcpkg.json') }}
@@ -55,7 +55,7 @@ jobs:
echo "OPENSSL_LIB_DIR=${{ env.VCPKG_ROOT }}/installed/x64-windows-static/lib" >> $GITHUB_ENV
- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: lts/*
@@ -68,7 +68,7 @@ jobs:
override: true
- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.cargo/registry
@@ -78,7 +78,7 @@ jobs:
windows-x64-cargo-registry-
- name: Cache cargo build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: desktop/target
key: windows-x64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
@@ -95,7 +95,7 @@ jobs:
run: cargo test --all
- name: Cache node_modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: desktop/node_modules
key: windows-x64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}

View File

@@ -22,10 +22,10 @@ jobs:
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Cache vcpkg
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ env.VCPKG_ROOT }}
key: ${{ runner.os }}-vcpkg-arm64-${{ hashFiles('desktop/**/vcpkg.json') }}
@@ -55,7 +55,7 @@ jobs:
echo "OPENSSL_LIB_DIR=${{ env.VCPKG_ROOT }}/installed/arm64-windows-static/lib" >> $GITHUB_ENV
- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: lts/*
@@ -69,7 +69,7 @@ jobs:
target: aarch64-pc-windows-msvc
- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.cargo/registry
@@ -79,7 +79,7 @@ jobs:
windows-arm64-cargo-registry-
- name: Cache cargo build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: desktop/target
key: windows-arm64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
@@ -96,7 +96,7 @@ jobs:
run: cargo test --all --target aarch64-pc-windows-msvc
- name: Cache node_modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: desktop/node_modules
key: windows-arm64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}

View File

@@ -24,18 +24,18 @@ jobs:
["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install Python ${{ matrix.python_version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python_version }}
allow-prereleases: true
cache: "pip"
- name: Cache pip packages
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python_version }}-${{ hashFiles('openbb_platform/poetry.lock') }}