diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9133e7..b13d54e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,13 +10,13 @@ on: jobs: test: name: Erlang/OTP ${{matrix.otp}} / rebar3 ${{matrix.rebar3}} - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: - otp: ['24', '25'] - rebar3: ['3.16.1'] + otp: ['25', '26', '27'] + rebar3: ['3.23.0'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: ${{matrix.otp}} @@ -28,7 +28,7 @@ jobs: - name: Code coverage run: rebar3 as test do cover,covertool generate - name: Upload coverage report - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: files: _build/test/covertool/rebar3_hex.covertool.xml name: ${{matrix.otp}} diff --git a/rebar.config b/rebar.config index 9fa50e2..64da2f2 100644 --- a/rebar.config +++ b/rebar.config @@ -3,30 +3,28 @@ {erl_opts, [ debug_info, {platform_define, "^2[3-9]", 'POST_OTP_22'}, - {platform_define, "^23", 'OTP_23'}, {platform_define, "^20", 'POST_OTP_19'}, {platform_define, "^19", 'POST_OTP_18'}, {platform_define, "^[2-9]", 'POST_OTP_18'} ]}. -{project_plugins, [covertool, rebar3_ex_doc, {rebar3_hank, "~> 0.3.0"}]}. +{project_plugins, [{covertool, "2.0.6"}, {rebar3_ex_doc, "0.2.23"}, {rebar3_hank, "1.4.0"}]}. {deps, [{hex_core, "0.10.1"}, {verl, "1.1.1"}]}. {profiles, [ {test, [ {extra_src_dirs, ["test/support"]}, - {overrides, [{override, rebar3,[{deps, [{erlware_commons, "1.3.1"}]}]}]}, - {deps, [{hex_core, "0.10.1"}, - {erlware_commons, "1.5.0"}, {elli, "3.3.0"}, - {jsone, "1.5.3"}, {meck, "0.9.0"}]}, + {deps, [{erlware_commons, "1.7.0"}, {elli, "3.3.0"}, + {jsone, "1.8.1"}, {meck, "0.9.2"}]}, {erl_opts, [nowarn_export_all]} ]} ]}. {dialyzer, [ {warnings, [ - error_handling + error_handling, + no_unknown ]}, {plt_extra_apps, [hex_core, verl]} ]}.