CI: Use checkout v3 for erlang < 20.3, and v4 for newer ones
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
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -14,7 +14,10 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: erlang:${{ matrix.otp }}
|
image: erlang:${{ matrix.otp }}
|
||||||
steps:
|
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 compile
|
||||||
- run: rebar3 xref
|
- run: rebar3 xref
|
||||||
- run: rebar3 dialyzer
|
- run: rebar3 dialyzer
|
||||||
|
|||||||
2
.github/workflows/hexpm-release.yml
vendored
2
.github/workflows/hexpm-release.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
image: erlang:26
|
image: erlang:26
|
||||||
steps:
|
steps:
|
||||||
- name: Check out
|
- name: Check out
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup rebar3 hex
|
- name: Setup rebar3 hex
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user