From 71ea3c91523fa2c6f836644729add0a9704c4ced Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Tue, 21 May 2024 21:57:53 +0100 Subject: [PATCH] Verify format only until Erlang/OTP 26 After that the formatter breaks CI --- .github/workflows/ci.yml | 2 +- test/style_SUITE.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a886d344..62d8b4ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: - name: Compile run: rebar3 compile - name: Format check - if: ${{ matrix.os == 'ubuntu-22.04' }} + if: ${{ matrix.os == 'ubuntu-22.04' && matrix.otp_vsn == '26' }} run: rebar3 format --verify - name: Run test run: rebar3 test diff --git a/test/style_SUITE.erl b/test/style_SUITE.erl index e04cb71f..b2b218f9 100644 --- a/test/style_SUITE.erl +++ b/test/style_SUITE.erl @@ -1262,7 +1262,7 @@ verify_no_successive_maps(Config) -> #{ignore => [Module]}, Path). -- else . +-else. verify_no_successive_maps(_Config) -> [].