Skip to content

Commit

Permalink
chore: update erlang otp for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwencool committed Aug 8, 2024
1 parent fe461e1 commit d0542ca
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Erlang CI

on:
push:
branches: [master]
pull_request:
branches: [master]
on: push

jobs:
build:
runs-on: ubuntu-latest

container:
image: erlang:22.0.7

test:
runs-on: ubuntu-20.04
name: Erlang/OTP ${{matrix.otp}} / rebar3 ${{matrix.rebar3}}
strategy:
matrix:
otp: ['21.1', '22.2', '23.3', '26.2.5']
rebar3: ['3.14.1', '3.14.3']
steps:
- uses: actions/checkout@v2
- name: Compile
run: rebar3 compile
- name: Run xref
run: rebar3 xref
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
rebar3-version: ${{matrix.rebar3}}
- run: rebar3 compile
- run: rebar3 xref

0 comments on commit d0542ca

Please sign in to comment.