diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea99f8b..fb2a572 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,9 +14,9 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - otp_vsn: ['24', '25', '26', '27'] - rebar3_vsn: ['3.23'] - os: [ubuntu-22.04, windows-2022] + otp_vsn: ['25', '26', '27'] + rebar3_vsn: ['3.24'] + os: [ubuntu-24.04, windows-2022] steps: - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 @@ -42,10 +42,8 @@ jobs: -otp-${{steps.setup-beam.outputs.otp-version}}\ -rebar3-${{steps.setup-beam.outputs.rebar3-version}}\ -hash-${{hashFiles('rebar.lock')}}" - - name: Compile - run: rebar3 compile - name: Format check - if: ${{ matrix.os == 'ubuntu-22.04' && matrix.otp_vsn == '26' }} + if: ${{ matrix.os == 'ubuntu-24.04' && matrix.otp_vsn == '26' }} run: rebar3 format --verify - name: Run test run: rebar3 test diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9931855..26abae7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,14 +12,14 @@ on: jobs: md_and_yml: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 # uses .markdownlint.yml for configuration - name: markdownlint - uses: DavidAnson/markdownlint-cli2-action@v16 + uses: DavidAnson/markdownlint-cli2-action@v17 with: globs: | LICENSE diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d26ad3f..b177d55 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,6 +30,11 @@ The following is a checklist you can follow when implementing a new Elvis rule: and in the [`config/elvis.config`](https://github.com/inaka/elvis/blob/HEAD/config/elvis.config) file. +## Development + +CI for `elvis_core` is pretty simple, but in case you want to replicate it locally before +pushing most issues will be found via `rebar3 do format --verify, test`. + ## Questions? If you have any questions or general comments regarding how to contribute, please use our public diff --git a/rebar.config b/rebar.config index 764bbfe..162f6f8 100644 --- a/rebar.config +++ b/rebar.config @@ -3,7 +3,7 @@ {erl_opts, [warn_unused_import, warn_export_vars, warnings_as_errors, verbose, report, debug_info]}. -{minimum_otp_vsn, "23"}. +{minimum_otp_vsn, "25"}. {profiles, [{test, @@ -21,7 +21,7 @@ %% == Dependencies and plugins == -{deps, [{zipper, "1.0.1"}, {katana_code, "~> 2.1.0"}]}. +{deps, [{zipper, "1.1.0"}, {katana_code, "~> 2.1.0"}]}. {project_plugins, [{rebar3_hank, "~> 1.4.0"}, diff --git a/rebar.lock b/rebar.lock index 09fb6d0..427dc33 100644 --- a/rebar.lock +++ b/rebar.lock @@ -1,11 +1,11 @@ {"1.2.0", [{<<"katana_code">>,{pkg,<<"katana_code">>,<<"2.1.1">>},0}, - {<<"zipper">>,{pkg,<<"zipper">>,<<"1.0.1">>},0}]}. + {<<"zipper">>,{pkg,<<"zipper">>,<<"1.1.0">>},0}]}. [ {pkg_hash,[ {<<"katana_code">>, <<"9AC515E6B5AE4903CD7B6C9161ABFBA49B610B6F3E19E8F0542802A4316C2405">>}, - {<<"zipper">>, <<"3CCB4F14B97C06B2749B93D8B6C204A1ECB6FAFC6050CACC3B93B9870C05952A">>}]}, + {<<"zipper">>, <<"FA775C01BCD33225BE89AF320C10CE61D23943109F4D5CA718551D0C492D7E35">>}]}, {pkg_hash_ext,[ {<<"katana_code">>, <<"0680F33525B9A882E6F4D3022518B15C46F648BD7B0DBE86900980FE1C291404">>}, - {<<"zipper">>, <<"6A1FD3E1F0CC1D1DF5642C9A0CE2178036411B0A5C9642851D1DA276BD737C2D">>}]} + {<<"zipper">>, <<"4644C83AE83EF3C09860CB5ED597B0C759FBBCD64AD5B00A62F51AE48AEF7535">>}]} ]. diff --git a/src/elvis_core.app.src b/src/elvis_core.app.src index e515fb7..d308e63 100644 --- a/src/elvis_core.app.src +++ b/src/elvis_core.app.src @@ -5,7 +5,6 @@ {vsn, git}, {applications, [kernel, stdlib, zipper, katana_code]}, {modules, [elvis_core, elvis_config, elvis_result, elvis_utils, elvis_style]}, - {registered, []}, {licenses, ["Apache-2.0"]}, {links, [{"GitHub", "https://github.com/inaka/elvis_core"}]}, {build_tools, ["rebar3"]}]}.