Skip to content

Commit

Permalink
CI housekeeping
Browse files Browse the repository at this point in the history
See https://hexdocs.pm/elixir/1.17.1/compatibility-and-deprecations.html

List of changes:
- use Erlang (22 and 27) and Elixit (1.13 and 1.17) in GitHub CI.
- add related CI and Hex badges
- set minimum Elixir version to 1.13
  • Loading branch information
kianmeng committed Jun 26, 2024
1 parent dce8ab5 commit 6bf15a6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
matrix:
include:
- pair:
elixir: 1.12.3
otp: 23.3
elixir: 1.13.4
otp: 22.3
- pair:
elixir: 1.15.7
otp: 26.1
elixir: 1.17.1
otp: 27.0
lint: lint
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: erlef/setup-beam@v1
with:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# NimbleParsec

[Online Documentation](https://hexdocs.pm/nimble_parsec).
[![CI](https://github.com/dashbitco/nimble_parsec/actions/workflows/ci.yml/badge.svg)](https://github.com/dashbitco/nimble_parsec/actions/workflows/ci.yml)
[![Module Version](https://img.shields.io/hexpm/v/nimble_parsec.svg)](https://hex.pm/packages/nimble_parsec)
[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/nimble_parsec)

<!-- MDOC !-->

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule NimbleParsec.MixProject do
[
app: :nimble_parsec,
version: @version,
elixir: "~> 1.12",
elixir: "~> 1.13",
name: "NimbleParsec",
description: "A simple and fast library for text-based parser combinators",
aliases: [docs: &build_docs/1],
Expand Down

0 comments on commit 6bf15a6

Please sign in to comment.