Skip to content

Use sudo to apt install #3

Use sudo to apt install

Use sudo to apt install #3

Workflow file for this run

name: Erlang CI
on:
push:
branches:
- nhse-develop-3.4
pull_request:
branches:
- nhse-develop-3.4
jobs:
build:
name: Test on ${{ matrix.os }} with OTP ${{ matrix.otp }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
otp: [24, 26]
os: [ubuntu-latest]
steps:
- uses: lukka/get-cmake@latest
- uses: actions/checkout@v4
- name: Pre-Compile
run: sudo apt-get update
run: sudo apt-get install -y libpam0g-dev

Check failure on line 29 in .github/workflows/erlang.yml

View workflow run for this annotation

GitHub Actions / Erlang CI

Invalid workflow file

The workflow is not valid. .github/workflows/erlang.yml (Line: 29, Col: 9): 'run' is already defined
- name: Install Erlang/OTP
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
- name: Compile
run: ./rebar3 compile
- name: Run xref and dialyzer
run: ./rebar3 do xref, dialyzer
- name: Run eunit
run: ./rebar3 as gha do eunit