From cb7ddf906fc9693a409b08508e2cf64c88daf184 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 20 Jun 2024 10:20:40 +0300 Subject: [PATCH] chore(ci): update all actions that uses deprecated node version to latest --- .github/actions/init-ci/action.yaml | 2 +- .github/workflows/birdbox.yml | 12 ++--- .github/workflows/cloud.yml | 2 +- .github/workflows/drivers-tests.yml | 16 +++--- .github/workflows/examples-publish.yml | 56 ++++++++++----------- .github/workflows/publish.yml | 28 +++++------ .github/workflows/push.yml | 44 +++++++++------- .github/workflows/rust-cubesql.yml | 28 +++++++---- .github/workflows/rust-cubestore-master.yml | 8 ++- .github/workflows/rust-cubestore.yml | 12 ++++- 10 files changed, 120 insertions(+), 88 deletions(-) diff --git a/.github/actions/init-ci/action.yaml b/.github/actions/init-ci/action.yaml index 4634c32066412..6d8967c7559de 100644 --- a/.github/actions/init-ci/action.yaml +++ b/.github/actions/init-ci/action.yaml @@ -7,7 +7,7 @@ runs: using: "composite" steps: - name: Use Node.js ${{ inputs.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ inputs.node }} - name: Cache node modules diff --git a/.github/workflows/birdbox.yml b/.github/workflows/birdbox.yml index 14f10d1669743..af44998631642 100644 --- a/.github/workflows/birdbox.yml +++ b/.github/workflows/birdbox.yml @@ -34,7 +34,7 @@ jobs: if: contains(runner.os, 'windows') shell: bash - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Restore lerna @@ -52,7 +52,7 @@ jobs: - name: Set Yarn version run: yarn policies set-version v1.22.19 - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -95,7 +95,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x - name: Restore lerna @@ -113,7 +113,7 @@ jobs: - name: Set Yarn version run: yarn policies set-version v1.22.19 - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -158,7 +158,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x - name: Restore lerna @@ -176,7 +176,7 @@ jobs: - name: Set Yarn version run: yarn policies set-version v1.22.19 - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: diff --git a/.github/workflows/cloud.yml b/.github/workflows/cloud.yml index 408cf624dc58a..5f9ea8346fdc9 100644 --- a/.github/workflows/cloud.yml +++ b/.github/workflows/cloud.yml @@ -69,7 +69,7 @@ jobs: if: contains(runner.os, 'windows') shell: bash - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Get yarn cache directory path diff --git a/.github/workflows/drivers-tests.yml b/.github/workflows/drivers-tests.yml index f0a90352c7d14..84e0a4c36575e 100644 --- a/.github/workflows/drivers-tests.yml +++ b/.github/workflows/drivers-tests.yml @@ -92,17 +92,21 @@ jobs: image: cubejs/rust-cross:${{ matrix.target }}-02042024 steps: + - name: install Curl + run: | + apt-get update + apt-get install -y curl - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true components: rustfmt target: ${{ matrix.target }} - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Install Yarn @@ -183,7 +187,7 @@ jobs: if: (needs['latest-tag-sha'].outputs.sha != github.sha) strategy: matrix: - node: + node: - 18.x database: - athena @@ -202,7 +206,7 @@ jobs: uses: actions/checkout@v4 - name: Install Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x @@ -215,7 +219,7 @@ jobs: shell: bash - name: Restore yarn cache # We don't want to save it on finish, restore only! - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -223,7 +227,7 @@ jobs: ${{ runner.os }}-yarn- - name: Install dependencies - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: diff --git a/.github/workflows/examples-publish.yml b/.github/workflows/examples-publish.yml index 2ed256618ee7e..8496925d84e03 100644 --- a/.github/workflows/examples-publish.yml +++ b/.github/workflows/examples-publish.yml @@ -24,7 +24,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/building-an-open-source-data-stack-with-clickhouse-and-cube-workshop/*,examples/building-an-open-source-data-stack-with-clickhouse-and-cube-workshop/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -50,7 +50,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/building-an-open-source-data-stack-with-clickhouse-and-cube-workshop/*,examples/building-an-open-source-data-stack-with-clickhouse-and-cube-workshop/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -76,7 +76,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/apollo-federation-with-cube/*,examples/apollo-federation-with-cube/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -101,7 +101,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/ksql/*,examples/ksql/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -126,7 +126,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/hasura-remote-schema-with-cube/*,examples/hasura-remote-schema-with-cube/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -151,7 +151,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/angular-dashboard-with-material-ui/*,examples/angular-dashboard-with-material-ui/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -176,7 +176,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/compare-date-range/*,examples/compare-date-range/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -200,7 +200,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/clickhouse-dashboard/*,examples/clickhouse-dashboard/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -224,7 +224,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/d3-dashboard/*,examples/d3-dashboard/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -248,7 +248,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/data-blending/*,examples/data-blending/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -272,7 +272,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/drill-downs/*,examples/drill-downs/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -296,7 +296,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/ecom-backend/*,examples/ecom-backend/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -321,7 +321,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/external-rollups/*,examples/external-rollups/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -345,7 +345,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/hacktoberfest/*,examples/hacktoberfest/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -370,7 +370,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/mapbox/*,examples/mapbox/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -394,7 +394,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/react-dashboard/*,examples/react-dashboard/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -418,7 +418,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/react-muze/*,examples/react-muze/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -442,7 +442,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/real-time-dashboard/*,examples/real-time-dashboard/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -466,7 +466,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/web-analytics/*,examples/web-analytics/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -490,7 +490,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/auth0/*,examples/auth0/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -514,7 +514,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/bigquery-public-datasets/*,examples/bigquery-public-datasets/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -538,7 +538,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/google-charts-moma/*,examples/google-charts-moma/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -563,7 +563,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/deepnote/*,examples/deepnote/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -589,7 +589,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/graphql-api-metrics-dashboard/*,examples/graphql-api-metrics-dashboard/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -614,7 +614,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/multi-tenant-analytics/*,examples/multi-tenant-analytics/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -638,7 +638,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/multitenancy-workshop/*,examples/multitenancy-workshop/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -662,7 +662,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/aws-web-analytics/*,examples/aws-web-analytics/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x @@ -687,7 +687,7 @@ jobs: paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/event-analytics/*,examples/event-analytics/**' - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14.x diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b976ccfa908fa..4aee88203f77f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,13 +16,13 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true components: rustfmt - name: Install Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x - name: Get yarn cache directory path @@ -41,7 +41,7 @@ jobs: - name: Copy yarn.lock file run: cp yarn.lock packages/cubejs-docker - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -90,14 +90,14 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true components: rustfmt target: ${{ matrix.target }} - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Install Yarn @@ -118,7 +118,7 @@ jobs: - name: Copy yarn.lock file run: cp yarn.lock packages/cubejs-docker - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -201,7 +201,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true @@ -213,7 +213,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Get yarn cache directory path @@ -232,7 +232,7 @@ jobs: - name: Copy yarn.lock file run: cp yarn.lock packages/cubejs-docker - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -297,7 +297,7 @@ jobs: run: rustup set auto-self-update disable shell: bash - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true @@ -308,7 +308,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Get yarn cache directory path @@ -327,7 +327,7 @@ jobs: - name: Copy yarn.lock file run: cp yarn.lock packages/cubejs-docker - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -668,7 +668,7 @@ jobs: if: contains(runner.os, 'windows') shell: bash - name: Setup Rust toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2024-01-29 target: ${{ matrix.target }} @@ -747,7 +747,7 @@ jobs: if: contains(runner.os, 'windows') shell: bash - name: Setup Rust toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2024-01-29 target: ${{ matrix.target }} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 9cb3f1d4d62e6..f4fb297da22cd 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -54,13 +54,13 @@ jobs: # pulls all commits (needed for codecov) fetch-depth: 2 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true components: rustfmt - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Get yarn cache directory path @@ -77,7 +77,7 @@ jobs: - name: Set Yarn version run: yarn policies set-version v1.22.19 - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -106,16 +106,20 @@ jobs: if: (needs['latest-tag-sha'].outputs.sha != github.sha) steps: + - name: Install cUrl + run: | + sudo apt-get update + sudo apt-get install -y curl - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true components: rustfmt - name: Install Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x - name: Get yarn cache directory path @@ -132,7 +136,7 @@ jobs: - name: Set Yarn version run: yarn policies set-version v1.22.19 - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -153,16 +157,20 @@ jobs: if: (needs['latest-tag-sha'].outputs.sha != github.sha) steps: + - name: Install cUrl + run: | + sudo apt-get update + sudo apt-get install -y curl - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true components: rustfmt - name: Install Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x - name: Get yarn cache directory path @@ -179,7 +187,7 @@ jobs: - name: Set Yarn version run: yarn policies set-version v1.22.19 - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -269,7 +277,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Get yarn cache directory path @@ -286,7 +294,7 @@ jobs: - name: Set Yarn version run: yarn policies set-version v1.22.19 - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -330,13 +338,13 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true components: rustfmt - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Get yarn cache directory path @@ -353,7 +361,7 @@ jobs: - name: Set Yarn version run: yarn policies set-version v1.22.19 - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -399,7 +407,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Get yarn cache directory path @@ -416,7 +424,7 @@ jobs: - name: Set Yarn version run: yarn policies set-version v1.22.19 - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -537,7 +545,7 @@ jobs: push: true tags: localhost:5000/cubejs/cube:${{ matrix.tag }} - name: Use Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x - name: Get yarn cache directory path @@ -554,7 +562,7 @@ jobs: - name: Set Yarn version run: yarn policies set-version v1.22.19 - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: diff --git a/.github/workflows/rust-cubesql.yml b/.github/workflows/rust-cubesql.yml index 2f8302e09ebec..4e856bf4015d2 100644 --- a/.github/workflows/rust-cubesql.yml +++ b/.github/workflows/rust-cubesql.yml @@ -21,10 +21,14 @@ jobs: name: Check fmt/clippy steps: + - name: install Curl + run: | + sudo apt-get update + sudo apt-get install -y curl - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true @@ -107,10 +111,14 @@ jobs: image: cubejs/rust-cross:${{ matrix.target }}-02042024 steps: + - name: install Curl + run: | + apt-get update + apt-get install -y curl - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true @@ -122,7 +130,7 @@ jobs: key: cubesql-${{ runner.OS }}-${{ matrix.target }}-${{ matrix.node-version }} shared-key: cubesql-${{ runner.OS }}-${{ matrix.target }}-${{ matrix.node-version }} - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Install Yarn @@ -140,7 +148,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -214,7 +222,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true @@ -226,7 +234,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Set Yarn version @@ -243,7 +251,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: @@ -296,7 +304,7 @@ jobs: run: rustup set auto-self-update disable shell: bash - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2023-12-13 override: true @@ -307,7 +315,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Set Yarn version @@ -324,7 +332,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Yarn install - uses: nick-invision/retry@v2 + uses: nick-invision/retry@v3 env: CUBESTORE_SKIP_POST_INSTALL: true with: diff --git a/.github/workflows/rust-cubestore-master.yml b/.github/workflows/rust-cubestore-master.yml index b900764130f02..9b1381c19c756 100644 --- a/.github/workflows/rust-cubestore-master.yml +++ b/.github/workflows/rust-cubestore-master.yml @@ -36,10 +36,14 @@ jobs: sudo rm -rf /opt/hostedtoolcache/CodeQL echo "After" df -h + - name: Install cUrl + run: | + sudo apt-get update + sudo apt-get install -y curl - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: ${{ matrix.rust }} override: true @@ -305,7 +309,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Rust toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2024-01-29 target: ${{ matrix.target }} diff --git a/.github/workflows/rust-cubestore.yml b/.github/workflows/rust-cubestore.yml index a91fcd2d5dc86..d87017b5aecc9 100644 --- a/.github/workflows/rust-cubestore.yml +++ b/.github/workflows/rust-cubestore.yml @@ -41,10 +41,14 @@ jobs: sudo rm -rf /opt/hostedtoolcache/CodeQL echo "After" df -h + - name: Install cUrl + run: | + sudo apt-get update + sudo apt-get install -y curl - name: Checkout uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: ${{ matrix.rust }} override: true @@ -236,9 +240,13 @@ jobs: container: image: cubejs/rust-cross:${{ matrix.target }}-02042024 steps: + - name: install Curl + run: | + apt-get update + apt-get install -y curl - uses: actions/checkout@v4 - name: Setup Rust toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly-2024-01-29 target: ${{ matrix.target }}