Skip to content

Commit 4867ac3

Browse files
committed
Simplify pipeline
1 parent 373b6b5 commit 4867ac3

File tree

1 file changed

+6
-36
lines changed

1 file changed

+6
-36
lines changed

.github/workflows/erlang.yml

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,46 +6,16 @@ env:
66
ERL_FLAGS: "-enable-feature all"
77

88
jobs:
9-
10-
OTP25:
11-
runs-on: ubuntu-24.04
12-
13-
strategy:
14-
matrix:
15-
otp: ['25.2.1']
16-
rebar: ['3.20.0']
17-
18-
steps:
19-
- uses: actions/checkout@v2
20-
- uses: erlef/setup-beam@v1
21-
id: setup-beam
22-
with:
23-
otp-version: ${{matrix.otp}}
24-
rebar3-version: ${{matrix.rebar}}
25-
- name: Restore _build
26-
uses: actions/cache@v4
27-
with:
28-
path: _build
29-
key: _build-cache-for-os-${{runner.os}}-otp-${{steps.setup-beam.outputs.otp-version}}-rebar3-${{steps.setup-beam.outputs.rebar3-version}}-hash-${{hashFiles('rebar.lock')}}
30-
- name: Restore rebar3's cache
31-
uses: actions/cache@v4
32-
with:
33-
path: ~/.cache/rebar3
34-
key: rebar3-cache-for-os-${{runner.os}}-otp-${{steps.setup-beam.outputs.otp-version}}-rebar3-${{steps.setup-beam.outputs.rebar3-version}}-hash-${{hashFiles('rebar.lock')}}
35-
- name: Compile
36-
run: rebar3 compile
37-
- name: Format check
38-
run: rebar3 format --verify
39-
- name: Run tests and verifications
40-
run: rebar3 test
41-
42-
OTP27:
9+
build:
4310
runs-on: ubuntu-24.04
4411

4512
strategy:
4613
matrix:
47-
otp: ['27.3.4']
48-
rebar: ['3.24.0']
14+
include:
15+
- otp: '25.2.1'
16+
rebar: '3.20.0'
17+
- otp: '27.3.4'
18+
rebar: '3.24.0'
4919

5020
steps:
5121
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)