otel init #1032
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
name: Erlang/OTP ${{matrix.otp}} / rebar3 ${{matrix.rebar3}} | |
strategy: | |
fail-fast: false | |
matrix: | |
otp: ['24.1.3', '25.1.1', '26.1'] | |
rebar3: ['3.22.0'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
rebar3-version: ${{matrix.rebar3}} | |
version-type: strict | |
- name: Compile | |
run: rebar3 compile | |
- name: Run dialyzer | |
run: rebar3 dialyzer | |
- name: Run xref | |
run: rebar3 xref | |
- name: Run elvis | |
run: rebar3 as lint lint | |