Skip to content

Commit 90bacec

Browse files
authored
Merge pull request #63 from aws-beam/fix-edoc-generation
Fix edoc in aws_credentials
2 parents 527acc0 + 7b268b5 commit 90bacec

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,30 @@ jobs:
6060
with:
6161
name: edoc
6262
path: doc
63+
docs:
64+
strategy:
65+
matrix:
66+
platform: [ubuntu-latest]
67+
otp-version: [24, 25, 26]
68+
runs-on: ${{ matrix.platform }}
69+
container:
70+
image: erlang:${{ matrix.otp-version }}
71+
steps:
72+
- name: Checkout
73+
uses: actions/checkout@v2
74+
- name: Cache Hex packages
75+
uses: actions/cache@v1
76+
with:
77+
path: ~/.cache/rebar3/hex/hexpm/packages
78+
key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
79+
restore-keys: |
80+
${{ runner.os }}-hex-
81+
- name: Cache Dialyzer PLTs
82+
uses: actions/cache@v1
83+
with:
84+
path: ~/.cache/rebar3/rebar3_*.plt
85+
key: ${{ runner.os }}-dialyzer-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.config')) }}
86+
restore-keys: |
87+
${{ runner.os }}-dialyzer-
88+
- name: Generate docs
89+
run: rebar3 ex_doc

src/aws_credentials.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
%% @doc This is the main interface to the library. It provides a function
2-
%% `get_credentials/0' which should return `Credentials :: map()' or `undefined`.
2+
%% `get_credentials/0' which should return `Credentials :: map()' or `undefined'.
33
%% If undefined, it will attempt to get credentials again after 5 seconds delay.
44
%% @end
55
-module(aws_credentials).

0 commit comments

Comments
 (0)