From 2c0c4614b1070fa949412278d7fe43038e89011e Mon Sep 17 00:00:00 2001 From: Michalina Date: Wed, 7 Feb 2024 15:05:14 +0100 Subject: [PATCH] Update actions to versions running on Node20 As per https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/, GitHub has started a deprecation process for the GitHub Actions that run on Node16. We're updating Actions that use this version of Node to newer versions, running on Node20. --- .github/workflows/contracts-docs.yml | 4 +-- .github/workflows/contracts.yml | 38 +++++++++++----------- .github/workflows/cross-chain-arbitrum.yml | 22 ++++++------- .github/workflows/cross-chain-optimism.yml | 22 ++++++------- .github/workflows/cross-chain-polygon.yml | 22 ++++++------- .github/workflows/format.yml | 4 +-- .github/workflows/monitoring.yml | 22 ++++++------- .github/workflows/npm-contracts.yml | 4 +-- .github/workflows/npm-typescript.yml | 4 +-- .github/workflows/system-tests.yml | 8 ++--- .github/workflows/typescript.yml | 16 ++++----- .github/workflows/yearn.yml | 12 +++---- 12 files changed, 89 insertions(+), 89 deletions(-) diff --git a/.github/workflows/contracts-docs.yml b/.github/workflows/contracts-docs.yml index 6202106c1..86bd5c509 100644 --- a/.github/workflows/contracts-docs.yml +++ b/.github/workflows/contracts-docs.yml @@ -16,9 +16,9 @@ jobs: outputs: path-filter: ${{ steps.filter.outputs.path-filter }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 if: github.event_name == 'pull_request' id: filter with: diff --git a/.github/workflows/contracts.yml b/.github/workflows/contracts.yml index 19c8360ed..792666eea 100644 --- a/.github/workflows/contracts.yml +++ b/.github/workflows/contracts.yml @@ -43,10 +43,10 @@ jobs: outputs: path-filter: ${{ steps.filter.outputs.path-filter }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 if: github.event_name == 'pull_request' id: filter with: @@ -65,9 +65,9 @@ jobs: run: working-directory: ./solidity steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -107,9 +107,9 @@ jobs: run: working-directory: ./solidity steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -140,9 +140,9 @@ jobs: run: working-directory: ./solidity steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -216,7 +216,7 @@ jobs: version: ${{ steps.npm-version-bump.outputs.version }} - name: Upload files needed for etherscan verification - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Artifacts for etherscan verification path: | @@ -231,15 +231,15 @@ jobs: run: working-directory: ./solidity steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download files needed for etherscan verification - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: Artifacts for etherscan verification path: ./solidity - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -286,9 +286,9 @@ jobs: run: working-directory: ./solidity steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -354,9 +354,9 @@ jobs: run: working-directory: ./solidity steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -397,15 +397,15 @@ jobs: run: working-directory: ./solidity steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" cache-dependency-path: solidity/yarn.lock - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.10.8 diff --git a/.github/workflows/cross-chain-arbitrum.yml b/.github/workflows/cross-chain-arbitrum.yml index c6a836536..db9e3d0c3 100644 --- a/.github/workflows/cross-chain-arbitrum.yml +++ b/.github/workflows/cross-chain-arbitrum.yml @@ -17,10 +17,10 @@ jobs: outputs: path-filter: ${{ steps.filter.outputs.path-filter }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 if: github.event_name == 'pull_request' id: filter with: @@ -39,9 +39,9 @@ jobs: run: working-directory: ./cross-chain/arbitrum steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -71,9 +71,9 @@ jobs: run: working-directory: ./cross-chain/arbitrum steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -100,9 +100,9 @@ jobs: run: working-directory: ./cross-chain/arbitrum steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -132,15 +132,15 @@ jobs: run: working-directory: ./cross-chain/arbitrum steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" cache-dependency-path: cross-chain/arbitrum/yarn.lock - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.10.8 diff --git a/.github/workflows/cross-chain-optimism.yml b/.github/workflows/cross-chain-optimism.yml index ae0e62147..9dc5a6c93 100644 --- a/.github/workflows/cross-chain-optimism.yml +++ b/.github/workflows/cross-chain-optimism.yml @@ -17,10 +17,10 @@ jobs: outputs: path-filter: ${{ steps.filter.outputs.path-filter }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 if: github.event_name == 'pull_request' id: filter with: @@ -39,9 +39,9 @@ jobs: run: working-directory: ./cross-chain/optimism steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -71,9 +71,9 @@ jobs: run: working-directory: ./cross-chain/optimism steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -100,9 +100,9 @@ jobs: run: working-directory: ./cross-chain/optimism steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -132,15 +132,15 @@ jobs: run: working-directory: ./cross-chain/optimism steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" cache-dependency-path: cross-chain/optimism/yarn.lock - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.10.8 diff --git a/.github/workflows/cross-chain-polygon.yml b/.github/workflows/cross-chain-polygon.yml index a250c5c54..f1a2a0d96 100644 --- a/.github/workflows/cross-chain-polygon.yml +++ b/.github/workflows/cross-chain-polygon.yml @@ -17,10 +17,10 @@ jobs: outputs: path-filter: ${{ steps.filter.outputs.path-filter }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 if: github.event_name == 'pull_request' id: filter with: @@ -39,9 +39,9 @@ jobs: run: working-directory: ./cross-chain/polygon steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -71,9 +71,9 @@ jobs: run: working-directory: ./cross-chain/polygon steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -100,9 +100,9 @@ jobs: run: working-directory: ./cross-chain/polygon steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -132,15 +132,15 @@ jobs: run: working-directory: ./cross-chain/polygon steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" cache-dependency-path: cross-chain/polygon/yarn.lock - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.10.8 diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index e94e982e8..aa6be5388 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -11,9 +11,9 @@ jobs: code-format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14" cache: "yarn" diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index e322a5aee..6a9511444 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -27,10 +27,10 @@ jobs: outputs: path-filter: ${{ steps.filter.outputs.path-filter }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 if: github.event_name == 'pull_request' id: filter with: @@ -48,9 +48,9 @@ jobs: run: working-directory: ./monitoring steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -73,7 +73,7 @@ jobs: run: working-directory: ./monitoring steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Load environment variables if: ${{ github.event.inputs.environment != 'local' }} @@ -81,10 +81,10 @@ jobs: with: environment: ${{ github.event.inputs.environment }} - - uses: docker/setup-buildx-action@v2 + - uses: docker/setup-buildx-action@v3 - name: Cache Docker layers - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ github.sha }} @@ -93,7 +93,7 @@ jobs: - name: Login to Docker registry if: ${{ github.event.inputs.environment != 'local' }} - uses: docker/login-action@v1 + uses: docker/login-action@v3 env: CLUSTER_MAPPING: '{"sepolia": "KEEP_TEST", "mainnet": "KEEP_PRD"}' with: @@ -102,7 +102,7 @@ jobs: password: ${{ secrets[format('{0}_GCR_JSON_KEY', fromJson(env.CLUSTER_MAPPING)[github.event.inputs.environment])] }} - name: Build Docker image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache-new @@ -129,9 +129,9 @@ jobs: run: working-directory: ./monitoring steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" diff --git a/.github/workflows/npm-contracts.yml b/.github/workflows/npm-contracts.yml index de1a06b2b..d5e491c33 100644 --- a/.github/workflows/npm-contracts.yml +++ b/.github/workflows/npm-contracts.yml @@ -20,9 +20,9 @@ jobs: run: working-directory: ./solidity steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" registry-url: "https://registry.npmjs.org" diff --git a/.github/workflows/npm-typescript.yml b/.github/workflows/npm-typescript.yml index c950491a1..f3583d613 100644 --- a/.github/workflows/npm-typescript.yml +++ b/.github/workflows/npm-typescript.yml @@ -15,9 +15,9 @@ jobs: run: working-directory: ./typescript steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "18.x" registry-url: "https://registry.npmjs.org" diff --git a/.github/workflows/system-tests.yml b/.github/workflows/system-tests.yml index 1f60ea09f..22653f91d 100644 --- a/.github/workflows/system-tests.yml +++ b/.github/workflows/system-tests.yml @@ -9,9 +9,9 @@ jobs: system-tests-deposit-redemption: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "18.x" cache: "yarn" @@ -65,9 +65,9 @@ jobs: needs: system-tests-deposit-redemption runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "18.x" cache: "yarn" diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index 59a4f6374..21de07f3b 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -28,10 +28,10 @@ jobs: outputs: path-filter: ${{ steps.filter.outputs.path-filter }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 if: github.event_name == 'pull_request' id: filter with: @@ -49,9 +49,9 @@ jobs: run: working-directory: ./typescript steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "18.x" cache: "yarn" @@ -84,9 +84,9 @@ jobs: run: working-directory: ./typescript steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "18.x" cache: "yarn" @@ -116,9 +116,9 @@ jobs: run: working-directory: ./typescript steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "18.x" cache: "yarn" diff --git a/.github/workflows/yearn.yml b/.github/workflows/yearn.yml index ba973e638..d015273f6 100644 --- a/.github/workflows/yearn.yml +++ b/.github/workflows/yearn.yml @@ -17,10 +17,10 @@ jobs: outputs: path-filter: ${{ steps.filter.outputs.path-filter }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'pull_request' - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 if: github.event_name == 'pull_request' id: filter with: @@ -38,9 +38,9 @@ jobs: run: working-directory: ./yearn steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn" @@ -67,9 +67,9 @@ jobs: run: working-directory: ./yearn steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" cache: "yarn"