Skip to content

Commit

Permalink
2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davydog187 committed Jul 31, 2024
1 parent f4091e2 commit 534c8d4
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 24 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,33 @@ on:
types: [opened, reopened, synchronize]
push:
branches:
- "master"
- "main"
jobs:
test:
name: Build and test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: erlef/setup-beam@v1.15
with:
elixir-version: '1.13.3' # Define the elixir version [required]
otp-version: '24.2.1' # Define the OTP version [required]
- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test
- name: Check formatting
run: mix format --check-formatted
- name: Credo
run: mix credo
- uses: actions/checkout@v2
- name: Set up Elixir
uses: erlef/setup-beam@v1.15
with:
elixir-version: "1.13.3" # Define the elixir version [required]
otp-version: "24.2.1" # Define the OTP version [required]
- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test
- name: Check formatting
run: mix format --check-formatted
- name: Credo
run: mix credo

dialyzer:
name: Run Dialyzer for type checking
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Run Dialyzer
uses: erlef/setup-beam@v1.15
with:
elixir-version: '1.13.3' # Define the elixir version [required]
otp-version: '24.2.1' # Define the OTP version [required]
elixir-version: "1.13.3" # Define the elixir version [required]
otp-version: "24.2.1" # Define the OTP version [required]
- run: mix deps.get
- run: mix dialyzer
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## v2.2.0 - July 31st, 2024

### Added

- Support for encoding and decoding Decimals

### Fixed

- Incorrect error for decimal encoding
- String.slice deprecation warning

## v2.1.0 - March 28th, 2023

### Added
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule AvroEx.Mixfile do
use Mix.Project

@url "http://github.com/beam-community/avro_ex"
@version "2.1.0"
@version "2.2.0"

def project do
[
Expand Down

0 comments on commit 534c8d4

Please sign in to comment.