Skip to content

Commit

Permalink
feat: add GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianSassine committed Jul 21, 2023
1 parent de0e7c4 commit f9b84fd
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Erlang CI
on: push
jobs:
Run:
strategy:
matrix:
erlang: ['24', '25', '26']
runs-on: ubuntu-latest
container:
image: erlang:${{ matrix.erlang }}
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
env:
cache-name: rebar3
with:
path: |
~/.cache/rebar3
key: ci-${{runner.os}}-${{env.cache-name}}-erlang_${{matrix.erlang}}-rebar3-${{hashFiles('rebar.lock')}}
restore-keys: |
ci-${{runner.os}}-${{env.cache-name}}-erlang_${{matrix.erlang}}-rebar3
ci-${{runner.os}}-${{env.cache-name}}-erlang_${{matrix.erlang}}
- name: check
run: make check

0 comments on commit f9b84fd

Please sign in to comment.