From 12717418b9b5b52dda640b41f9fa41222689b9bb Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 23 Jan 2024 11:17:24 +0100 Subject: [PATCH] Use ubuntu-22.04, add erlang_26 container as that ubuntu doesn't include it --- .github/workflows/ci.yml | 6 ++++-- .github/workflows/hexpm-release.yml | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c48a53d..871b071 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] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 container: image: erlang:${{ matrix.otp }} steps: @@ -28,7 +28,9 @@ jobs: cover: name: Cover needs: [tests] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 + container: + image: erlang:26 steps: - uses: actions/checkout@v4 - run: ./configure --enable-gcov diff --git a/.github/workflows/hexpm-release.yml b/.github/workflows/hexpm-release.yml index 37c47a2..626c028 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: + erlang:26 steps: - name: Check out uses: actions/checkout@v4