Skip to content

Commit

Permalink
CI: Use checkout v3 for erlang < 20.3, and v4 for newer ones
Browse files Browse the repository at this point in the history
actions/checkout@v4 updated from node16 to node20,
which requires a recent GLIBC 2.27 or 2.28,
however some old erlang container images include too old GLIBC
  • Loading branch information
badlop committed Feb 26, 2024
1 parent 2cce228 commit 1d3bc59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
container:
image: erlang:${{ matrix.otp }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
if: matrix.otp < '20.3'
- uses: actions/checkout@v4
if: matrix.otp >= '20.3'
- run: rebar3 compile
- run: rebar3 xref
- run: rebar3 dialyzer
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hexpm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
image: erlang:26
steps:
- name: Check out
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup rebar3 hex
run: |
Expand Down

0 comments on commit 1d3bc59

Please sign in to comment.