Skip to content

Commit

Permalink
Use specific version of rebar3; added Erlang 24.
Browse files Browse the repository at this point in the history
  • Loading branch information
oubiwann committed Jun 9, 2021
1 parent 2b8832a commit d152b4b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,30 @@ jobs:

strategy:
matrix:
otp_version: [19, 20, 21, 22, 23]
otp_version: [19, 20, 21, 22, 23, 24]
os: [ubuntu-latest]

container:
image: erlang:${{ matrix.otp_version }}

steps:
- uses: actions/checkout@v2
- name: Download Recent Rebar
run: wget https://s3.amazonaws.com/rebar3/rebar3 && chmod 755 ./rebar3
- name: Download rebar3
run: wget https://github.com/erlang/rebar3/releases/download/3.15.2/rebar3 && chmod 755 ./rebar3
- name: Update Path
run: echo "./" >> $GITHUB_PATH
- name: Check rebar3 Version
run: DEBUG=1 rebar3 --version
run: DEBUG=1 ./rebar3 --version
- name: Compile
run: rebar3 compile
run: ./rebar3 compile
- name: Xref Checks
run: rebar3 xref
run: ./rebar3 xref
# - name: Dialyzer
# run: rebar3 dialyzer
- name: Run Tests
run: rebar3 as test eunit
run: ./rebar3 as test eunit
- name: Test Coverage
run: rebar3 as test do proper -c, cover -v --min_coverage=0
run: ./rebar3 as test do proper -c, cover -v --min_coverage=0
- name: Notify CI/CD Slack Channel
uses: innocarpe/actions-slack@v1
with:
Expand Down

0 comments on commit d152b4b

Please sign in to comment.