Skip to content

tmp

tmp #11

name: Erlang CI
on: [push]
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
otp: ["24.0", "25.0"]
name: OTP ${{matrix.otp}}
steps:
- uses: actions/checkout@v4
- uses: erlef/[email protected]
with:
otp-version: ${{ matrix.otp }}
rebar3-version: "3.20.0"
- name: Compile
run: make compile
- name: Run xref
run: make xref
- name: Run dialyzer
run: make dialyze
- name: Run eunit tests
run: make eunit
release:
if: github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, 'no-release:') == false
needs: build_and_test
runs-on: ubuntu-latest
steps:
- name: Create Tag (Release)
uses: kivra/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}