Skip to content

Commit

Permalink
chore(ci): update all actions that uses deprecated node version to la…
Browse files Browse the repository at this point in the history
…test
  • Loading branch information
KSDaemon committed Jun 20, 2024
1 parent 1db6a5c commit cb7ddf9
Show file tree
Hide file tree
Showing 10 changed files with 120 additions and 88 deletions.
2 changes: 1 addition & 1 deletion .github/actions/init-ci/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/birdbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/drivers-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -183,7 +187,7 @@ jobs:
if: (needs['latest-tag-sha'].outputs.sha != github.sha)
strategy:
matrix:
node:
node:
- 18.x
database:
- athena
Expand All @@ -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

Expand All @@ -215,15 +219,15 @@ 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') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
uses: nick-invision/retry@v2
uses: nick-invision/retry@v3
env:
CUBESTORE_SKIP_POST_INSTALL: true
with:
Expand Down
56 changes: 28 additions & 28 deletions .github/workflows/examples-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down
Loading

0 comments on commit cb7ddf9

Please sign in to comment.