From 3ce51ef8aa353c880f5586fa649dff8dc5e85fd6 Mon Sep 17 00:00:00 2001 From: spencer-tb Date: Thu, 25 Apr 2024 17:30:36 +0800 Subject: [PATCH] chore(ci): Update workflow actions to use Node.js 20 versions. --- .github/actions/build-geth-evm/action.yaml | 4 ++-- .github/workflows/docs_main.yaml | 4 ++-- .github/workflows/docs_tags.yaml | 4 ++-- .github/workflows/fixtures.yaml | 10 +++++----- .github/workflows/test.yaml | 6 +++--- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/actions/build-geth-evm/action.yaml b/.github/actions/build-geth-evm/action.yaml index 02ec105c49..40831753ce 100644 --- a/.github/actions/build-geth-evm/action.yaml +++ b/.github/actions/build-geth-evm/action.yaml @@ -17,13 +17,13 @@ runs: using: "composite" steps: - name: Checkout go-ethereum - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ inputs.repo }} ref: ${{ inputs.ref }} path: go-ethereum - name: Setup golang - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ inputs.golang }} cache-dependency-path: go-ethereum/go.sum diff --git a/.github/workflows/docs_main.yaml b/.github/workflows/docs_main.yaml index c6160a6fa0..9cd97a5106 100644 --- a/.github/workflows/docs_main.yaml +++ b/.github/workflows/docs_main.yaml @@ -12,13 +12,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4 with: fetch-depth: 0 ssh-key: ${{secrets.GH_ACTIONS_DEPLOY_KEY}} - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.11' diff --git a/.github/workflows/docs_tags.yaml b/.github/workflows/docs_tags.yaml index 9e12a38e12..b40bb7136d 100644 --- a/.github/workflows/docs_tags.yaml +++ b/.github/workflows/docs_tags.yaml @@ -12,13 +12,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4 with: fetch-depth: 0 ssh-key: ${{secrets.GH_ACTIONS_DEPLOY_KEY}} - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.11' diff --git a/.github/workflows/fixtures.yaml b/.github/workflows/fixtures.yaml index 5312814185..e9965392bd 100644 --- a/.github/workflows/fixtures.yaml +++ b/.github/workflows/fixtures.yaml @@ -25,7 +25,7 @@ jobs: # solc: '0.8.21' # python: '3.11' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/actions/build-evm @@ -33,7 +33,7 @@ jobs: with: type: ${{ matrix.evm-type }} - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: Install solc compiler @@ -61,7 +61,7 @@ jobs: shell: bash run: | tar -czvf ${{ matrix.name }}.tar.gz ./fixtures - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.name }} path: ${{ matrix.name }}.tar.gz @@ -71,11 +71,11 @@ jobs: if: startsWith(github.ref, 'refs/tags/') steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: . - name: Draft Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: './**' draft: true diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1f5d721996..5a21ef36b5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -29,7 +29,7 @@ jobs: evm-type: 'main' tox-cmd: 'tox run-parallel --parallel-no-spinner' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: ./.github/actions/build-evm @@ -37,7 +37,7 @@ jobs: with: type: ${{ matrix.evm-type }} - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} allow-prereleases: true @@ -62,7 +62,7 @@ jobs: run: pip install tox - name: Run Tox (CPython) run: ${{ matrix.tox-cmd }} - - uses: DavidAnson/markdownlint-cli2-action@v11 + - uses: DavidAnson/markdownlint-cli2-action@v16 with: globs: | README.md