From 99f6b29e093811f2f1320ffccbde894a1c38bb35 Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Thu, 26 Sep 2024 10:32:44 +0100 Subject: [PATCH] Update GHA --- .github/workflows/erlang.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) 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