Skip to content

Commit b19639b

Browse files
authored
fix: fixing the CI updating ubuntu and go (#1433)
1 parent cb9ffb4 commit b19639b

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ permissions:
3030
jobs:
3131
compile-native:
3232
name: Build native libraries
33-
runs-on: ubuntu-22.04
33+
runs-on: ubuntu-24.04
3434
steps:
3535
- uses: actions/checkout@v4
3636
- name: Set up Go
3737
# NOTE: this action comes with caching by default
3838
uses: actions/setup-go@v5
3939
with:
40-
go-version: "1.21"
40+
go-version: "1.24"
4141
cache-dependency-path: |
4242
native/libp2p_port/go.sum
4343
- name: Cache output artifacts
@@ -58,7 +58,7 @@ jobs:
5858

5959
download-beacon-node-oapi:
6060
name: Download Beacon Node OAPI
61-
runs-on: ubuntu-22.04
61+
runs-on: ubuntu-24.04
6262
steps:
6363
- uses: actions/checkout@v4
6464
- name: Cache Beacon Node OAPI
@@ -75,7 +75,7 @@ jobs:
7575
build:
7676
name: Build project
7777
needs: [compile-native, download-beacon-node-oapi]
78-
runs-on: ubuntu-22.04
78+
runs-on: ubuntu-24.04
7979
steps:
8080
- uses: actions/checkout@v4
8181
- name: Set up Elixir
@@ -135,7 +135,7 @@ jobs:
135135

136136
docker-build:
137137
name: Build Docker image
138-
runs-on: ubuntu-22.04
138+
runs-on: ubuntu-24.04
139139
steps:
140140
- uses: actions/checkout@v4
141141
- name: Set up Docker Buildx
@@ -150,7 +150,7 @@ jobs:
150150
smoke:
151151
name: Start and stop the node
152152
needs: [compile-native, download-beacon-node-oapi]
153-
runs-on: ubuntu-22.04
153+
runs-on: ubuntu-24.04
154154
steps:
155155
- uses: actions/checkout@v4
156156
- name: Set up Elixir
@@ -200,7 +200,7 @@ jobs:
200200
test:
201201
name: Test
202202
needs: [compile-native, download-beacon-node-oapi]
203-
runs-on: ubuntu-22.04
203+
runs-on: ubuntu-24.04
204204
steps:
205205
- uses: actions/checkout@v4
206206
- name: Set up Elixir
@@ -245,7 +245,7 @@ jobs:
245245

246246
lint:
247247
name: Lint
248-
runs-on: ubuntu-22.04
248+
runs-on: ubuntu-24.04
249249
steps:
250250
- uses: actions/checkout@v4
251251
- name: Set up Elixir
@@ -273,7 +273,7 @@ jobs:
273273

274274
download-spectests:
275275
name: Download spectests
276-
runs-on: ubuntu-22.04
276+
runs-on: ubuntu-24.04
277277
steps:
278278
- uses: actions/checkout@v4
279279
- name: Cache compressed spectests
@@ -295,7 +295,7 @@ jobs:
295295
matrix:
296296
fork: ["deneb"]
297297
config: ["minimal", "general", "mainnet"]
298-
runs-on: ubuntu-22.04
298+
runs-on: ubuntu-24.04
299299
steps:
300300
- uses: actions/checkout@v4
301301
- name: Set up Elixir
@@ -357,7 +357,7 @@ jobs:
357357
spectests-success:
358358
name: All spec-tests passed
359359
needs: spectests-matrix
360-
runs-on: ubuntu-22.04
360+
runs-on: ubuntu-24.04
361361
if: always()
362362
steps:
363363
- if: needs.spectests-matrix.result == 'success'

.github/workflows/ci_skipped.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,36 @@ on:
1414
jobs:
1515
compile-native:
1616
name: Build native libraries
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-24.04
1818
if: false
1919
steps: [run: true]
2020

2121
build:
2222
name: Build project
23-
runs-on: ubuntu-22.04
23+
runs-on: ubuntu-24.04
2424
if: false
2525
steps: [run: true]
2626

2727
smoke:
2828
name: Start and stop the node
29-
runs-on: ubuntu-22.04
29+
runs-on: ubuntu-24.04
3030
if: false
3131
steps: [run: true]
3232

3333
test:
3434
name: Test
35-
runs-on: ubuntu-22.04
35+
runs-on: ubuntu-24.04
3636
if: false
3737
steps: [run: true]
3838

3939
lint:
4040
name: Lint
41-
runs-on: ubuntu-22.04
41+
runs-on: ubuntu-24.04
4242
if: false
4343
steps: [run: true]
4444

4545
spectests-success:
4646
name: All spec-tests passed
47-
runs-on: ubuntu-22.04
47+
runs-on: ubuntu-24.04
4848
if: false
4949
steps: [run: true]

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
erlang 26.2
22
elixir 1.16.2-otp-26
3-
golang 1.22.12
3+
golang 1.24.2
44
rust 1.81.0
55
protoc 30.2

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# libp2p port
2-
FROM golang:1.22 AS libp2p_builder
2+
FROM golang:1.24 AS libp2p_builder
33
LABEL stage=builder
44

55
# Install dependencies

test/unit/validator/block_builder_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ defmodule Unit.Validator.BlockBuilderTest do
8080

8181
[proof] = BlockBuilder.compute_inclusion_proofs(body)
8282

83-
assert length(proof) == 9
83+
assert length(proof) == 10
8484

8585
commitment_root = SszEx.hash_tree_root!(commitment, TypeAliases.kzg_commitment())
8686

8787
# Manually computed generalized index of the commitment in the body
88-
index = 0b101100000
88+
index = 0b1011000000
8989

9090
valid? =
9191
Predicates.valid_merkle_branch?(commitment_root, proof, length(proof), index, body_root)

0 commit comments

Comments
 (0)