From 38d0cdb33799ef60ed102b56b08a3ad83f1e9b7a Mon Sep 17 00:00:00 2001 From: Nelson Vides Date: Fri, 19 Jan 2024 15:55:34 +0100 Subject: [PATCH 1/2] Make CI run --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e97528f..8bf7ac3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,9 +4,9 @@ name: CI on: # Triggers the workflow on push or pull request events but only for the master branch push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: test: @@ -16,7 +16,7 @@ jobs: otp: ['26.0', '25.3', '24.3'] runs-on: 'ubuntu-22.04' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: ${{ matrix.otp }} @@ -33,7 +33,7 @@ jobs: env: OTP_RELEASE: ${{ matrix.otp }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: ${{ matrix.otp }} From 6a709923758d122d918321dd2a7312010ac7ce2e Mon Sep 17 00:00:00 2001 From: Nelson Vides Date: Fri, 19 Jan 2024 15:59:46 +0100 Subject: [PATCH 2/2] add compiler to dialyzer plt --- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebar.config b/rebar.config index c4a73d3..3d46f5c 100644 --- a/rebar.config +++ b/rebar.config @@ -22,7 +22,7 @@ ]}. {dialyzer, [ - {plt_extra_apps, [amoc, ranch, cowboy, jsx]} + {plt_extra_apps, [compiler, amoc, ranch, cowboy, jsx]} ]}. { xref_checks, [