Workflows: Use explicit ubuntu-22.04 instead of a varying ubuntu-latest

Also notice that ubuntu-22.04 doesn't include Erlang/OTP.
This commit is contained in:
Badlop 2024-02-01 17:02:14 +01:00
parent 70bf316f9d
commit a182ec12cf
3 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ env:
jobs:
container:
name: Container
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
packages: write
steps:

View File

@ -21,7 +21,7 @@ on:
jobs:
binaries:
name: Binaries
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Cache build directory
uses: actions/cache@v3
@ -70,7 +70,7 @@ jobs:
release:
name: Release
needs: [binaries]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.ref_type == 'tag'
steps:
- name: Download packages

View File

@ -33,7 +33,7 @@ jobs:
matrix:
otp: ['20.3', '25.3', '26']
rebar: ['rebar', 'rebar3']
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: erlang:${{ matrix.otp }}