Skip to content

Commit

Permalink
build: 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
javiergarea committed Feb 8, 2024
1 parent fc36b9a commit 5b0ae85
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
push:
branches: [main]
branches: [main, develop]
pull_request:

env:
Expand All @@ -14,9 +14,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: webfactory/ssh-agent@v0.7.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

Expand All @@ -25,7 +25,7 @@ jobs:
otp-version: ${{ env.OTP-VERSION }}
rebar3-version: ${{ env.REBAR3-VERSION }}

- uses: actions/cache@v3.2.6
- uses: actions/cache@v4
id: rebar3-cache
with:
path: |
Expand All @@ -42,7 +42,7 @@ jobs:

- run: rebar3 test

- uses: test-summary/action@v2
- uses: test-summary/action@v2.2
if: always()
with:
paths: '_build/test/logs/**/report.xml'
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: webfactory/ssh-agent@v0.7.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

Expand All @@ -24,7 +24,7 @@ jobs:
otp-version: ${{ env.OTP-VERSION }}
rebar3-version: ${{ env.REBAR3-VERSION }}

- uses: actions/cache@v3.2.6
- uses: actions/cache@v4
id: rebar3-cache
with:
path: |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ ok = ndto:load(DTO).
5. Call the `is_valid/1` function from the generated module to validate your data.
```erl
true = string_schema:is_valid(<<"hello world">>).
false = string_schema:is_valid(<<"hello">>).
false = string_schema:is_valid(<<"hi world">>).
{false, _MinLengthError} = string_schema:is_valid(<<"hello">>).
{false, _PatternError} = string_schema:is_valid(<<"hi world">>).
```

## `ndto` schema language
Expand Down
2 changes: 1 addition & 1 deletion src/ndto.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, ndto, [
{description, "Erlang library for DTOs validation"},
{vsn, "0.1.0"},
{vsn, "0.3.0"},
{registered, []},
{applications, [kernel, stdlib, compiler, njson, syntax_tools]},
{env, []}
Expand Down

0 comments on commit 5b0ae85

Please sign in to comment.