Skip to content

Commit

Permalink
Setup erlang for the gazelle workflow
Browse files Browse the repository at this point in the history
It must have been removed from the default actions image
  • Loading branch information
HoloRin committed May 17, 2024
1 parent 4e26cfe commit b2bd7a3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/gazelle-scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/gazelle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2bd7a3

Please sign in to comment.