mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 04:31:13 +00:00
chore: Update outdated GitHub Actions versions (#7326)
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
This commit is contained in:
10
.github/workflows/build-desktop-osx64.yml
vendored
10
.github/workflows/build-desktop-osx64.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
working-directory: desktop
|
working-directory: desktop
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Import Code Signing Certificate
|
- name: Import Code Signing Certificate
|
||||||
uses: apple-actions/import-codesign-certs@v3
|
uses: apple-actions/import-codesign-certs@v3
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
p12-password: ${{ secrets.MACOS_CERTIFICATE_PWD }}
|
p12-password: ${{ secrets.MACOS_CERTIFICATE_PWD }}
|
||||||
|
|
||||||
- name: Setup Cargo Cache
|
- name: Setup Cargo Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
macos-x64-cargo-registry-
|
macos-x64-cargo-registry-
|
||||||
|
|
||||||
- name: Setup Node Cache
|
- name: Setup Node Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: macos-x64-node-${{ hashFiles('desktop/**/package-lock.json') }}
|
key: macos-x64-node-${{ hashFiles('desktop/**/package-lock.json') }}
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
macos-x64-node-
|
macos-x64-node-
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
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
|
for file in *.app.tar.gz.sig; do mv "$file" "Open-Data-Platform_${VERSION}_x86_64.app.tar.gz.sig"; done
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: macos-x64-artifacts
|
name: macos-x64-artifacts
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
10
.github/workflows/build-desktop-osxARM.yml
vendored
10
.github/workflows/build-desktop-osxARM.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
working-directory: desktop
|
working-directory: desktop
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Import Code Signing Certificate
|
- name: Import Code Signing Certificate
|
||||||
uses: apple-actions/import-codesign-certs@v3
|
uses: apple-actions/import-codesign-certs@v3
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
p12-password: ${{ secrets.MACOS_CERTIFICATE_PWD }}
|
p12-password: ${{ secrets.MACOS_CERTIFICATE_PWD }}
|
||||||
|
|
||||||
- name: Setup Cargo Cache
|
- name: Setup Cargo Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
macos-arm-cargo-registry-
|
macos-arm-cargo-registry-
|
||||||
|
|
||||||
- name: Setup Node Cache
|
- name: Setup Node Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: macos-arm-node-${{ hashFiles('desktop/**/package-lock.json') }}
|
key: macos-arm-node-${{ hashFiles('desktop/**/package-lock.json') }}
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
macos-arm-node-
|
macos-arm-node-
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
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
|
for file in *.app.tar.gz.sig; do mv "$file" "Open-Data-Platform_${VERSION}_aarch64.app.tar.gz.sig"; done
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: macos-arm-artifacts
|
name: macos-arm-artifacts
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
12
.github/workflows/build-desktop-win64.yml
vendored
12
.github/workflows/build-desktop-win64.yml
vendored
@@ -26,10 +26,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
|
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Cache vcpkg
|
- name: Cache vcpkg
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: ${{ env.VCPKG_ROOT }}
|
path: ${{ env.VCPKG_ROOT }}
|
||||||
key: ${{ runner.os }}-vcpkg-${{ hashFiles('desktop/**/vcpkg.json') }}
|
key: ${{ runner.os }}-vcpkg-${{ hashFiles('desktop/**/vcpkg.json') }}
|
||||||
@@ -118,7 +118,7 @@ jobs:
|
|||||||
Get-ChildItem -Path "${{ github.workspace }}/desktop/src-tauri/*.dll"
|
Get-ChildItem -Path "${{ github.workspace }}/desktop/src-tauri/*.dll"
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
|
|
||||||
@@ -129,7 +129,7 @@ jobs:
|
|||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
@@ -139,7 +139,7 @@ jobs:
|
|||||||
windows-x64-cargo-registry-
|
windows-x64-cargo-registry-
|
||||||
|
|
||||||
- name: Cache cargo build
|
- name: Cache cargo build
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: desktop/target
|
path: desktop/target
|
||||||
key: windows-x64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
|
key: windows-x64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
|
||||||
@@ -250,7 +250,7 @@ jobs:
|
|||||||
--password $env:TAURI_SIGNING_PRIVATE_KEY_PASSWORD
|
--password $env:TAURI_SIGNING_PRIVATE_KEY_PASSWORD
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: windows-x64-artifacts
|
name: windows-x64-artifacts
|
||||||
path: ${{ github.workspace }}/desktop/signed-installer/
|
path: ${{ github.workspace }}/desktop/signed-installer/
|
||||||
|
|||||||
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@@ -61,7 +61,7 @@ jobs:
|
|||||||
config-file: .github/codeql/desktop-only.yml
|
config-file: .github/codeql/desktop-only.yml
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
# Add any setup steps before running the `github/codeql-action/init` action.
|
# Add any setup steps before running the `github/codeql-action/init` action.
|
||||||
# This includes steps like installing compilers or runtimes (`actions/setup-node`
|
# This includes steps like installing compilers or runtimes (`actions/setup-node`
|
||||||
|
|||||||
4
.github/workflows/draft-release.yml
vendored
4
.github/workflows/draft-release.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Download all artifacts
|
- name: Download all artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v7
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
echo "assets_path=./release_assets" >> $GITHUB_OUTPUT
|
echo "assets_path=./release_assets" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Create VERSIONED release
|
- name: Create VERSIONED release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.extract_version.outputs.versioned_tag }}
|
tag_name: ${{ steps.extract_version.outputs.versioned_tag }}
|
||||||
name: ${{ steps.extract_version.outputs.release_name }}
|
name: ${{ steps.extract_version.outputs.release_name }}
|
||||||
|
|||||||
8
.github/workflows/general-linting.yml
vendored
8
.github/workflows/general-linting.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4.1.1 # actions/checkout v3.0.2
|
uses: actions/checkout@v6 # actions/checkout v3.0.2
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.ref || github.ref }}
|
ref: ${{ github.event.pull_request.head.ref || github.ref }}
|
||||||
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
|
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 }}
|
run: git fetch --no-tags --depth=20 origin ${{ github.base_ref }}
|
||||||
|
|
||||||
- name: Setup Python 3.10
|
- name: Setup Python 3.10
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
architecture: x64
|
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=$(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
|
echo $diff_files
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-linting-${{ hashFiles('**/poetry.lock') }}
|
key: ${{ runner.os }}-linting-${{ hashFiles('**/poetry.lock') }}
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
|
|
||||||
- name: json-yaml-validate
|
- name: json-yaml-validate
|
||||||
id: json-yaml-validate
|
id: json-yaml-validate
|
||||||
uses: GrantBirki/json-yaml-validate@v2.0.0
|
uses: GrantBirki/json-yaml-validate@v4
|
||||||
with:
|
with:
|
||||||
yaml_exclude_regex: "construct.yaml"
|
yaml_exclude_regex: "construct.yaml"
|
||||||
use_gitignore: false
|
use_gitignore: false
|
||||||
|
|||||||
4
.github/workflows/gh-branch-name-check.yml
vendored
4
.github/workflows/gh-branch-name-check.yml
vendored
@@ -19,11 +19,11 @@ jobs:
|
|||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Get branch names.
|
- name: Get branch names.
|
||||||
id: 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
|
- name: Show Output result for source-branch and target-branch
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
4
.github/workflows/gh-pr-labels.yml
vendored
4
.github/workflows/gh-pr-labels.yml
vendored
@@ -11,12 +11,12 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
# - uses: mheap/github-action-required-labels@v1
|
# - uses: mheap/github-action-required-labels@v5
|
||||||
# with:
|
# with:
|
||||||
# mode: minimum
|
# mode: minimum
|
||||||
# count: 1
|
# count: 1
|
||||||
# labels: "guides, bug, build, docker, docs, feat XS, feat S, feat M, feat L, feat XL, help wanted, refactor, tests, dependencies, release"
|
# 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:
|
with:
|
||||||
mode: exactly
|
mode: exactly
|
||||||
count: 0
|
count: 0
|
||||||
|
|||||||
4
.github/workflows/release-desktop.yml
vendored
4
.github/workflows/release-desktop.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set release tag
|
- name: Set release tag
|
||||||
id: set_tag
|
id: set_tag
|
||||||
@@ -146,7 +146,7 @@ jobs:
|
|||||||
cat latest.json
|
cat latest.json
|
||||||
|
|
||||||
- name: Create ODP release
|
- name: Create ODP release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: ODP
|
tag_name: ODP
|
||||||
name: ODP Desktop (Latest Stable)
|
name: ODP Desktop (Latest Stable)
|
||||||
|
|||||||
6
.github/workflows/test-unit-cli.yml
vendored
6
.github/workflows/test-unit-cli.yml
vendored
@@ -24,18 +24,18 @@ jobs:
|
|||||||
["3.10", "3.11", "3.12", "3.13"]
|
["3.10", "3.11", "3.12", "3.13"]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- name: Install Python ${{ matrix.python_version }}
|
- name: Install Python ${{ matrix.python_version }}
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python_version }}
|
python-version: ${{ matrix.python_version }}
|
||||||
allow-prereleases: true
|
allow-prereleases: true
|
||||||
cache: "pip"
|
cache: "pip"
|
||||||
|
|
||||||
- name: Cache pip packages
|
- name: Cache pip packages
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ matrix.python_version }}-${{ hashFiles('cli/poetry.lock') }}
|
key: ${{ runner.os }}-pip-${{ matrix.python_version }}-${{ hashFiles('cli/poetry.lock') }}
|
||||||
|
|||||||
10
.github/workflows/test-unit-desktop-osx64.yml
vendored
10
.github/workflows/test-unit-desktop-osx64.yml
vendored
@@ -20,10 +20,10 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
working-directory: desktop
|
working-directory: desktop
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
|
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
macos-x64-cargo-registry-
|
macos-x64-cargo-registry-
|
||||||
|
|
||||||
- name: Cache cargo build
|
- name: Cache cargo build
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: desktop/target
|
path: desktop/target
|
||||||
key: macos-x64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
|
key: macos-x64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
run: cargo test --all
|
run: cargo test --all
|
||||||
|
|
||||||
- name: Cache node_modules
|
- name: Cache node_modules
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: desktop/node_modules
|
path: desktop/node_modules
|
||||||
key: macos-x64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}
|
key: macos-x64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}
|
||||||
|
|||||||
10
.github/workflows/test-unit-desktop-osxARM.yml
vendored
10
.github/workflows/test-unit-desktop-osxARM.yml
vendored
@@ -20,10 +20,10 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
working-directory: desktop
|
working-directory: desktop
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
run: rustup target add aarch64-apple-darwin
|
run: rustup target add aarch64-apple-darwin
|
||||||
|
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
macos-arm64-cargo-registry-
|
macos-arm64-cargo-registry-
|
||||||
|
|
||||||
- name: Cache cargo build
|
- name: Cache cargo build
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: desktop/target
|
path: desktop/target
|
||||||
key: macos-arm64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
|
key: macos-arm64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
run: cargo test --all
|
run: cargo test --all
|
||||||
|
|
||||||
- name: Cache node_modules
|
- name: Cache node_modules
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: desktop/node_modules
|
path: desktop/node_modules
|
||||||
key: macos-arm64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}
|
key: macos-arm64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}
|
||||||
|
|||||||
12
.github/workflows/test-unit-desktop-win64.yml
vendored
12
.github/workflows/test-unit-desktop-win64.yml
vendored
@@ -22,10 +22,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
|
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Cache vcpkg
|
- name: Cache vcpkg
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: ${{ env.VCPKG_ROOT }}
|
path: ${{ env.VCPKG_ROOT }}
|
||||||
key: ${{ runner.os }}-vcpkg-${{ hashFiles('desktop/**/vcpkg.json') }}
|
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
|
echo "OPENSSL_LIB_DIR=${{ env.VCPKG_ROOT }}/installed/x64-windows-static/lib" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
|
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
@@ -78,7 +78,7 @@ jobs:
|
|||||||
windows-x64-cargo-registry-
|
windows-x64-cargo-registry-
|
||||||
|
|
||||||
- name: Cache cargo build
|
- name: Cache cargo build
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: desktop/target
|
path: desktop/target
|
||||||
key: windows-x64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
|
key: windows-x64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
|
||||||
@@ -95,7 +95,7 @@ jobs:
|
|||||||
run: cargo test --all
|
run: cargo test --all
|
||||||
|
|
||||||
- name: Cache node_modules
|
- name: Cache node_modules
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: desktop/node_modules
|
path: desktop/node_modules
|
||||||
key: windows-x64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}
|
key: windows-x64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}
|
||||||
|
|||||||
12
.github/workflows/test-unit-desktop-winARM.yml
vendored
12
.github/workflows/test-unit-desktop-winARM.yml
vendored
@@ -22,10 +22,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
|
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Cache vcpkg
|
- name: Cache vcpkg
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: ${{ env.VCPKG_ROOT }}
|
path: ${{ env.VCPKG_ROOT }}
|
||||||
key: ${{ runner.os }}-vcpkg-arm64-${{ hashFiles('desktop/**/vcpkg.json') }}
|
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
|
echo "OPENSSL_LIB_DIR=${{ env.VCPKG_ROOT }}/installed/arm64-windows-static/lib" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ jobs:
|
|||||||
target: aarch64-pc-windows-msvc
|
target: aarch64-pc-windows-msvc
|
||||||
|
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
windows-arm64-cargo-registry-
|
windows-arm64-cargo-registry-
|
||||||
|
|
||||||
- name: Cache cargo build
|
- name: Cache cargo build
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: desktop/target
|
path: desktop/target
|
||||||
key: windows-arm64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
|
key: windows-arm64-cargo-build-${{ hashFiles('desktop/**/Cargo.lock') }}
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
run: cargo test --all --target aarch64-pc-windows-msvc
|
run: cargo test --all --target aarch64-pc-windows-msvc
|
||||||
|
|
||||||
- name: Cache node_modules
|
- name: Cache node_modules
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: desktop/node_modules
|
path: desktop/node_modules
|
||||||
key: windows-arm64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}
|
key: windows-arm64-node-modules-${{ hashFiles('desktop/**/package-lock.json') }}
|
||||||
|
|||||||
6
.github/workflows/test-unit-platform.yml
vendored
6
.github/workflows/test-unit-platform.yml
vendored
@@ -24,18 +24,18 @@ jobs:
|
|||||||
["3.10", "3.11", "3.12", "3.13"]
|
["3.10", "3.11", "3.12", "3.13"]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- name: Install Python ${{ matrix.python_version }}
|
- name: Install Python ${{ matrix.python_version }}
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python_version }}
|
python-version: ${{ matrix.python_version }}
|
||||||
allow-prereleases: true
|
allow-prereleases: true
|
||||||
cache: "pip"
|
cache: "pip"
|
||||||
|
|
||||||
- name: Cache pip packages
|
- name: Cache pip packages
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ matrix.python_version }}-${{ hashFiles('openbb_platform/poetry.lock') }}
|
key: ${{ runner.os }}-pip-${{ matrix.python_version }}-${{ hashFiles('openbb_platform/poetry.lock') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user