Skip to content

Commit 63d2b88

Browse files
committed
Cleanup build pipeline and drop support for OTP 24
1 parent 04f8b7c commit 63d2b88

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

.github/workflows/build.yml

+2-24
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@ name: Build
33
on:
44
pull_request:
55
push:
6-
branches:
7-
- master
86

97
jobs:
108
build:
119
strategy:
1210
matrix:
1311
platform: [ubuntu-latest]
14-
otp-version: [24, 25, 26, 27]
12+
otp-version: [25, 26, 27]
1513
runs-on: ${{ matrix.platform }}
1614
container:
1715
image: erlang:${{ matrix.otp-version }}
@@ -27,20 +25,6 @@ jobs:
2725
steps:
2826
- name: Checkout
2927
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-
4428
- name: Compile
4529
run: rebar3 compile
4630
- name: Run EUnit Tests
@@ -52,14 +36,8 @@ jobs:
5236
S3MOCK_HOST: s3mock
5337
- name: Check app calls
5438
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
6139
- name: Produce Documentation
62-
run: rebar3 ex_doc || true
40+
run: rebar3 ex_doc
6341
- name: Publish Documentation
6442
uses: actions/upload-artifact@v4
6543
with:

0 commit comments

Comments
 (0)