Skip to content

Commit

Permalink
Verify format only until Erlang/OTP 26
Browse files Browse the repository at this point in the history
After that the formatter breaks CI
  • Loading branch information
paulo-ferraz-oliveira committed May 21, 2024
1 parent df84309 commit 71ea3c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/style_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ verify_no_successive_maps(Config) ->
#{ignore => [Module]},
Path).

- else .
-else.

verify_no_successive_maps(_Config) ->
[].
Expand Down

0 comments on commit 71ea3c9

Please sign in to comment.