Skip to content

Commit

Permalink
Merge pull request #2791 from ferd/otp-26
Browse files Browse the repository at this point in the history
Support OTP-26, Deprecate OTP-23 support.
  • Loading branch information
ferd authored May 18, 2023
2 parents ccf7236 + 3117086 commit eb4bc10
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:

strategy:
matrix:
otp_version: [23, 24, 25.0]
otp_version: [24, 25.0, 26]
os: [ubuntu-latest]

container:
image: erlang:${{ matrix.otp_version }}

env:
LATEST_OTP_RELEASE: 25.0
LATEST_OTP_RELEASE: 26.0

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: erlef/setup-beam@v1
with:
otp-version: '23.3.4.14'
otp-version: '24'
- name: Compile
run: ./bootstrap
- name: CT tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: erlef/setup-beam@v1
with:
otp-version: '23.3.4.14'
otp-version: '24'
- name: Compile
run: ./bootstrap
- name: CT tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/shelltests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: '25.0'
elixir-version: '1.13'
otp-version: '26.0'
elixir-version: '1.14'
- name: Compile
run: ./bootstrap
- name: Install
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Rebar3

[![Build Status](https://github.com/erlang/rebar3/workflows/Common%20Test/badge.svg)](https://github.com/erlang/rebar3/actions?query=branch%3Amaster+workflow%3A"Common+Test") [![Erlang Versions](https://img.shields.io/badge/Supported%20Erlang%2FOTP-23.0%20to%2025.0-blue)](http://www.erlang.org)
[![Build Status](https://github.com/erlang/rebar3/workflows/Common%20Test/badge.svg)](https://github.com/erlang/rebar3/actions?query=branch%3Amaster+workflow%3A"Common+Test") [![Erlang Versions](https://img.shields.io/badge/Supported%20Erlang%2FOTP-24.0%20to%2026.0-blue)](http://www.erlang.org)

1. [What is Rebar3?](#what-is-rebar3)
2. [Why Rebar3?](#why-rebar3)
Expand Down Expand Up @@ -94,7 +94,7 @@ by [Erlang Solutions](https://www.erlang-solutions.com/resources/download.html),
but be sure to choose the "Standard" download option or you'll have issues building
projects.

Do note that if you are planning to work with multiple Erlang versions on the same machine, you will want to build Rebar3 with the oldest one of them. The 3 newest major Erlang releases are supported at any given time: if the newest version is OTP-24, building with versions as old as OTP-22 will be supported, and produce an executable that will work with those that follow.
Do note that if you are planning to work with multiple Erlang versions on the same machine, you will want to build Rebar3 with the oldest one of them. The 3 newest major Erlang releases are supported at any given time: if the newest version is OTP-26, building with versions as old as OTP-24 will be supported, and produce an executable that will work with those that follow.

## Documentation

Expand Down
3 changes: 2 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
{dialyzer, [
{erl_opts, [debug_info, nowarn_export_all]},
%% Ignore deps known to generate warnings
{dialyzer, [{exclude_apps, [cth_readable, erlware_commons, relx]}]}
{dialyzer, [{warnings, [no_unknown]},
{exclude_apps, [cth_readable, erlware_commons, relx]}]}
]},
%% Duplicated from apps/rebar3:
%% - we don't want the test profile applied to our vendored deps.
Expand Down

0 comments on commit eb4bc10

Please sign in to comment.