Skip to content

Commit

Permalink
chore(ci): Update workflow actions to use Node.js 20 versions (ethere…
Browse files Browse the repository at this point in the history
…um#527)

* chore(ci): Update workflow actions to use Node.js 20 versions.

* chore: Add changelog.
  • Loading branch information
spencer-tb authored Apr 29, 2024
1 parent c9b9307 commit 4783e6e
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build-geth-evm/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs_tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/fixtures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ 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
id: evm-builder
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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ 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
id: evm-builder
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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Test fixtures for use by clients are available for each release on the [Github r
- State test field `transaction` now uses the proper zero-padded hex number format for fields `maxPriorityFeePerGas`, `maxFeePerGas`, and `maxFeePerBlobGas`
- Fixtures' hashes (in the `_info` field) are now calculated by removing the "_info" field entirely instead of it being set to an empty dict.
- 🐞 Relax minor and patch dependency requirements to avoid conflicting package dependencies ([#510](https://github.com/ethereum/execution-spec-tests/pull/510)).
- 🔀 Update all CI actions to use their respective Node.js 20 versions, ahead of their Node.js 16 version deprecations ([#527](https://github.com/ethereum/execution-spec-tests/pull/527)).

### 💥 Breaking Change

Expand Down
2 changes: 2 additions & 0 deletions whitelist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ delitem
deserialized
deserialization
Dencun
deprecations
dev
devnet
difficulty
Expand Down Expand Up @@ -167,6 +168,7 @@ ispkg
itemName
jimporter
jq
js
json
JSON
keccak
Expand Down

0 comments on commit 4783e6e

Please sign in to comment.