diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index c11fdb5..0753941 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -2,31 +2,32 @@ name: Erlang CI on: push: - branches: [ develop ] + branches: + - nhse-develop pull_request: - branches: [ develop ] - + branches: + - nhse-develop jobs: build: - runs-on: ubuntu-latest + name: Test on ${{ matrix.os }} with OTP ${{ matrix.otp }} + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - otp: - - "25.1" - - "24.3" - - "22.3" - - container: - image: erlang:${{ matrix.otp }} + otp: [24] + os: [ubuntu-latest] steps: - uses: lukka/get-cmake@latest - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - name: Install Erlang/OTP + uses: erlef/setup-beam@v1 + with: + otp-version: ${{ matrix.otp }} - name: Compile run: ./rebar3 compile - name: Run xref and dialyzer