Skip to content

Commit f564376

Browse files
Merge pull request #11265 from rabbitmq/mergify/bp/v3.13.x/pr-11258
Setup erlang for the gazelle workflow (backport #11258)
2 parents 4a8dee9 + c5479fd commit f564376

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/gazelle-scheduled.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
jobs:
66
bazel-run-gazelle:
77
name: bazel run gazelle
8-
runs-on: ubuntu-22.04
8+
runs-on: ubuntu-latest
99
strategy:
1010
max-parallel: 1
1111
fail-fast: false
@@ -21,6 +21,11 @@ jobs:
2121
uses: actions/checkout@v4
2222
with:
2323
ref: ${{ matrix.target_branch }}
24+
- name: Configure Erlang
25+
uses: erlef/setup-beam@v1
26+
with:
27+
otp-version: 26.2
28+
elixir-version: 1.15
2429
- name: BAZEL RUN GAZELLE
2530
run: |
2631
bazel run gazelle

.github/workflows/gazelle.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,18 @@ on:
99
jobs:
1010
bazel-run-gazelle:
1111
name: bazel run gazelle
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-latest
1313
timeout-minutes: 10
1414
steps:
1515
- name: CHECKOUT REPOSITORY
1616
uses: actions/checkout@v4
1717
with:
1818
ref: ${{ github.event.inputs.target_branch }}
19+
- name: Configure Erlang
20+
uses: erlef/setup-beam@v1
21+
with:
22+
otp-version: 26.2
23+
elixir-version: 1.15
1924
- name: BAZEL RUN GAZELLE
2025
run: |
2126
bazel run gazelle

0 commit comments

Comments
 (0)