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:
|
||||
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
|
||||
|
||||
2
.github/workflows/hexpm-release.yml
vendored
2
.github/workflows/hexpm-release.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user