From 1f6c519b8aa958734f6c3d37457c880a863ed1c0 Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 26 Feb 2024 09:18:08 +0100 Subject: [PATCH] CI: Use ubuntu-22.04, add erlang:26 container as that ubuntu doesn't include it --- .github/workflows/ci.yml | 8 ++++++-- .github/workflows/hexpm-release.yml | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a604e34..316423c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: otp: ['19.3', '25.3', 26, 27] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 container: image: erlang:${{ matrix.otp }} steps: @@ -23,9 +23,13 @@ jobs: cover: name: Cover needs: [tests] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 + - uses: erlef/setup-beam@v1 + with: + otp-version: 26 + rebar3-version: 3 - run: ./configure --enable-gcov - run: rebar3 compile - run: rebar3 eunit -v diff --git a/.github/workflows/hexpm-release.yml b/.github/workflows/hexpm-release.yml index 0a8c192..e8f2a99 100644 --- a/.github/workflows/hexpm-release.yml +++ b/.github/workflows/hexpm-release.yml @@ -7,7 +7,9 @@ on: jobs: release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 + container: + image: erlang:26 steps: - name: Check out uses: actions/checkout@v2