diff --git a/.github/workflows/build-desktop-osx64.yml b/.github/workflows/build-desktop-osx64.yml index dfb4a032a77..4d8d339ab4a 100644 --- a/.github/workflows/build-desktop-osx64.yml +++ b/.github/workflows/build-desktop-osx64.yml @@ -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: | diff --git a/.github/workflows/build-desktop-osxARM.yml b/.github/workflows/build-desktop-osxARM.yml index 1053a4f213c..3fbd6399229 100644 --- a/.github/workflows/build-desktop-osxARM.yml +++ b/.github/workflows/build-desktop-osxARM.yml @@ -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: | diff --git a/.github/workflows/build-desktop-win64.yml b/.github/workflows/build-desktop-win64.yml index 3b5adfadc69..eb13e9f1a04 100644 --- a/.github/workflows/build-desktop-win64.yml +++ b/.github/workflows/build-desktop-win64.yml @@ -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/ diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6256fc663cd..88debe32dd2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -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` diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index eedf4c38d98..9ea17afcce2 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -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 }} diff --git a/.github/workflows/general-linting.yml b/.github/workflows/general-linting.yml index d9002922a64..197925b7d02 100644 --- a/.github/workflows/general-linting.yml +++ b/.github/workflows/general-linting.yml @@ -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 diff --git a/.github/workflows/gh-branch-name-check.yml b/.github/workflows/gh-branch-name-check.yml index ad2a30df7c1..c1daab84c0e 100644 --- a/.github/workflows/gh-branch-name-check.yml +++ b/.github/workflows/gh-branch-name-check.yml @@ -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: | diff --git a/.github/workflows/gh-pr-labels.yml b/.github/workflows/gh-pr-labels.yml index 81d6253fb93..93ba7ebf036 100644 --- a/.github/workflows/gh-pr-labels.yml +++ b/.github/workflows/gh-pr-labels.yml @@ -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 diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml index 3c2c5d57fe4..763cac15748 100644 --- a/.github/workflows/release-desktop.yml +++ b/.github/workflows/release-desktop.yml @@ -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) diff --git a/.github/workflows/test-unit-cli.yml b/.github/workflows/test-unit-cli.yml index ef9e9be91d2..47e5fe60f17 100644 --- a/.github/workflows/test-unit-cli.yml +++ b/.github/workflows/test-unit-cli.yml @@ -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') }} diff --git a/.github/workflows/test-unit-desktop-osx64.yml b/.github/workflows/test-unit-desktop-osx64.yml index 595e0aabad5..02d92feb51b 100644 --- a/.github/workflows/test-unit-desktop-osx64.yml +++ b/.github/workflows/test-unit-desktop-osx64.yml @@ -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') }} diff --git a/.github/workflows/test-unit-desktop-osxARM.yml b/.github/workflows/test-unit-desktop-osxARM.yml index 51ef4bce052..d82c9b7259c 100644 --- a/.github/workflows/test-unit-desktop-osxARM.yml +++ b/.github/workflows/test-unit-desktop-osxARM.yml @@ -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') }} diff --git a/.github/workflows/test-unit-desktop-win64.yml b/.github/workflows/test-unit-desktop-win64.yml index 09508804004..8ee8b76151f 100644 --- a/.github/workflows/test-unit-desktop-win64.yml +++ b/.github/workflows/test-unit-desktop-win64.yml @@ -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') }} diff --git a/.github/workflows/test-unit-desktop-winARM.yml b/.github/workflows/test-unit-desktop-winARM.yml index df36e584174..a494fad837f 100644 --- a/.github/workflows/test-unit-desktop-winARM.yml +++ b/.github/workflows/test-unit-desktop-winARM.yml @@ -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') }} diff --git a/.github/workflows/test-unit-platform.yml b/.github/workflows/test-unit-platform.yml index ee914fb62ce..8a68150d149 100644 --- a/.github/workflows/test-unit-platform.yml +++ b/.github/workflows/test-unit-platform.yml @@ -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') }}