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:
Badlop
2024-02-26 09:21:45 +01:00
parent 2cce22869d
commit 1d3bc59b0b
2 changed files with 5 additions and 2 deletions

View File

@@ -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: |