@@ -3,15 +3,13 @@ name: Build
3
3
on :
4
4
pull_request :
5
5
push :
6
- branches :
7
- - master
8
6
9
7
jobs :
10
8
build :
11
9
strategy :
12
10
matrix :
13
11
platform : [ubuntu-latest]
14
- otp-version : [24, 25, 26, 27]
12
+ otp-version : [25, 26, 27]
15
13
runs-on : ${{ matrix.platform }}
16
14
container :
17
15
image : erlang:${{ matrix.otp-version }}
27
25
steps :
28
26
- name : Checkout
29
27
uses : actions/checkout@v4
30
- - name : Cache Hex packages
31
- uses : actions/cache@v4
32
- with :
33
- path : ~/.cache/rebar3/hex/hexpm/packages
34
- key : ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
35
- restore-keys : |
36
- ${{ runner.os }}-hex-
37
- - name : Cache Dialyzer PLTs
38
- uses : actions/cache@v4
39
- with :
40
- path : ~/.cache/rebar3/rebar3_*.plt
41
- key : ${{ runner.os }}-dialyzer-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.config')) }}
42
- restore-keys : |
43
- ${{ runner.os }}-dialyzer-
44
28
- name : Compile
45
29
run : rebar3 compile
46
30
- name : Run EUnit Tests
52
36
S3MOCK_HOST : s3mock
53
37
- name : Check app calls
54
38
run : rebar3 check_app_calls
55
- - name : Create Cover Reports
56
- env :
57
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
- run : rebar3 cover
59
- - name : Produce Documentation
60
- run : rebar3 edoc || true
61
39
- name : Produce Documentation
62
- run : rebar3 ex_doc || true
40
+ run : rebar3 ex_doc
63
41
- name : Publish Documentation
64
42
uses : actions/upload-artifact@v4
65
43
with :
0 commit comments