Skip to content

Commit

Permalink
github: upgrade checkout action to version with node20 (#10332)
Browse files Browse the repository at this point in the history
  • Loading branch information
cario-dev authored May 15, 2024
1 parent 261c1a2 commit 91f7f44
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
remove-haskell: 'true'

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/test-erigon-is-library.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Integration tests
on:
push:
branches:
- main
- 'release/**'
workflow_dispatch:

jobs:
tests:
strategy:
matrix:
# list of os: https://github.com/actions/virtual-environments
os:
- ubuntu-22.04
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- run: git submodule update --init --recursive --force
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Install dependencies on Linux
if: runner.os == 'Linux'
run: sudo apt update && sudo apt install build-essential

- name: Test erigon as a library
env:
GIT_COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}
run: make test-erigon-ext GIT_COMMIT=$GIT_COMMIT
4 changes: 2 additions & 2 deletions .github/workflows/test-integration-caplin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
Expand All @@ -41,7 +41,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: git submodule update --init --recursive --force
- uses: actions/setup-go@v4
with:
Expand All @@ -39,19 +39,14 @@ jobs:
- name: test-integration
run: make test-integration

- name: Test erigon as a library
env:
GIT_COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}
run: make test-erigon-ext GIT_COMMIT=$GIT_COMMIT

tests-windows:
strategy:
matrix:
os: [ windows-2022 ]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: git submodule update --init --recursive --force
- uses: actions/setup-go@v4
with:
Expand Down

0 comments on commit 91f7f44

Please sign in to comment.