diff --git a/.github/workflows/gazelle-scheduled.yaml b/.github/workflows/gazelle-scheduled.yaml index 720b755bf84b..06ff3ef4923d 100644 --- a/.github/workflows/gazelle-scheduled.yaml +++ b/.github/workflows/gazelle-scheduled.yaml @@ -5,7 +5,7 @@ on: jobs: bazel-run-gazelle: name: bazel run gazelle - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: max-parallel: 1 fail-fast: false @@ -21,6 +21,11 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ matrix.target_branch }} + - name: Configure Erlang + uses: erlef/setup-beam@v1 + with: + otp-version: 26.2 + elixir-version: 1.15 - name: BAZEL RUN GAZELLE run: | bazel run gazelle diff --git a/.github/workflows/gazelle.yaml b/.github/workflows/gazelle.yaml index 6e5c5e1d6c3b..9740d757282d 100644 --- a/.github/workflows/gazelle.yaml +++ b/.github/workflows/gazelle.yaml @@ -9,13 +9,18 @@ on: jobs: bazel-run-gazelle: name: bazel run gazelle - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest timeout-minutes: 10 steps: - name: CHECKOUT REPOSITORY uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.target_branch }} + - name: Configure Erlang + uses: erlef/setup-beam@v1 + with: + otp-version: 26.2 + elixir-version: 1.15 - name: BAZEL RUN GAZELLE run: | bazel run gazelle