Skip to content

Commit

Permalink
fix: ci setup job
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis committed Jun 8, 2024
1 parent 8cca16d commit 6eb2b63
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
Test:
strategy:
matrix:
elixir: ['1.10', '1.11']
otp: [22, 23]
elixir: ['1.15', '1.16']
otp: ['26', '27']
env:
MIX_ENV: test
runs-on: ubuntu-latest
Expand All @@ -27,44 +27,47 @@ jobs:
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
version-type: 'strict'
- run: mix deps.get
- run: mix test

Format:
strategy:
matrix:
elixir: ['1.11']
otp: [23]
otp: ['23']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
version-type: 'strict'
- run: mix deps.get
- run: mix format --check-formatted

Credo:
strategy:
matrix:
elixir: ['1.11']
otp: [23]
otp: ['23']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
version-type: 'strict'
- run: mix deps.get
- run: mix credo

Dialyzer:
strategy:
matrix:
elixir: ['1.11']
otp: [23]
otp: ['23']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -85,5 +88,6 @@ jobs:
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
version-type: 'strict'
- run: mix deps.get
- run: mix dialyzer
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
hex-publish:
uses: straw-hat-team/github-actions-workflows/.github/workflows/elixir-hex-publish.yml@v0.1.1
uses: straw-hat-team/github-actions-workflows/.github/workflows/elixir-hex-publish.yml@v1.6.4
with:
elixir-version: '1.11'
otp-version: '22.3'
Expand Down

0 comments on commit 6eb2b63

Please sign in to comment.