Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI issues #70

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
ci:
strategy:
fail-fast: false
matrix:
include: # See https://www.erlang-solutions.com/downloads/
- otp-version: 25.0.3
Expand All @@ -19,12 +20,15 @@ jobs:
- otp-version: 23.3.4.5
platform: ubuntu-20.04
lsb_release: focal
rebar3-version: '3.20.0'
- otp-version: 22.3.4.9
platform: ubuntu-20.04
lsb_release: focal
rebar3-version: '3.15.2'
- otp-version: 21.3.8.17
platform: ubuntu-20.04
lsb_release: focal
rebar3-version: '3.15.2'
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
Expand All @@ -51,10 +55,10 @@ jobs:
sudo dpkg --install $DEB_NAME

- name: Install compatible rebar3 version
if: ${{ startsWith(matrix.otp-version, '21.') || startsWith(matrix.otp-version, '22.') }}
if: ${{ matrix.rebar3-version }}
run: |
git clone https://github.com/erlang/rebar3.git
cd rebar3 && git checkout 3.15.2 && ./bootstrap && ./rebar3 local install
cd rebar3 && git checkout ${{ matrix.rebar3-version }} && ./bootstrap && ./rebar3 local install
echo "$HOME/.cache/rebar3/bin" >> $GITHUB_PATH

- name: Install elvis
Expand Down
Loading