Skip to content

Commit

Permalink
CI: Set OTP major version, and let it pick the latest minor one
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed May 23, 2024
1 parent e871c66 commit e002785
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
strategy:
fail-fast: false
matrix:
otp: ['19.3', '25.3', 26, 27]
otp: [19, 20, 25, 26, 27]
runs-on: ubuntu-22.04
container:
image: erlang:${{ matrix.otp }}
steps:
- uses: actions/checkout@v3
if: matrix.otp < '20.3'
if: matrix.otp < 20
- uses: actions/checkout@v4
if: matrix.otp >= '20.3'
if: matrix.otp >= 20
- run: make
- run: rebar3 compile
- run: rebar3 xref
Expand Down

0 comments on commit e002785

Please sign in to comment.