forked from elixirs/faker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: elixir 17 & 18 compatibility (elixirs#565)
Co-authored-by: Igor Kapkov <[email protected]>
- Loading branch information
1 parent
d13623f
commit f3d4808
Showing
26 changed files
with
343 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
|
||
jobs: | ||
credo: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
|
@@ -15,13 +15,18 @@ jobs: | |
path: _build | ||
- uses: erlef/[email protected] | ||
with: | ||
elixir-version: 1.15.x | ||
elixir-version: 1.17.3 | ||
otp-version: 26.x | ||
- run: mix deps.get | ||
- run: mix credo --strict --format=sarif | ||
- run: mix compile | ||
- run: mix credo suggest --format=sarif --mute-exit-status > credo.sarif | ||
- name: Upload SARIF | ||
uses: github/codeql-action/[email protected] | ||
with: | ||
sarif_file: credo.sarif | ||
|
||
# dialyzer: | ||
# runs-on: ${{ matrix.os || 'ubuntu-20.04' }} | ||
# runs-on: ${{ matrix.os || 'ubuntu-24.04' }} | ||
|
||
# steps: | ||
# - uses: actions/[email protected] | ||
|
@@ -53,7 +58,7 @@ jobs: | |
# - run: mix dialyzer --format github | ||
|
||
test: | ||
runs-on: ${{ matrix.os || 'ubuntu-20.04' }} | ||
runs-on: ${{ matrix.os || 'ubuntu-24.04' }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
|
@@ -70,50 +75,9 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- elixir: 1.11.x | ||
otp: 21.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.11.x | ||
otp: 22.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.11.x | ||
otp: 23.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.12.x | ||
otp: 22.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.12.x | ||
otp: 23.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.12.x | ||
otp: 24.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.13.x | ||
otp: 22.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.13.x | ||
otp: 23.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.13.x | ||
otp: 24.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.14.x | ||
otp: 23.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.14.x | ||
otp: 24.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.14.x | ||
otp: 25.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.15.x | ||
otp: 24.x | ||
os: ubuntu-20.04 | ||
- elixir: 1.15.x | ||
otp: 25.x | ||
os: ubuntu-20.04 | ||
# Something changed in otp 26 for seed and single test started producing failures | ||
# it does not affect functionality, only CI | ||
# - elixir: 1.15.x | ||
# otp: 26.x | ||
# os: ubuntu-20.04 | ||
- elixir: 1.16.x | ||
otp: 26.x | ||
- elixir: 1.17.x | ||
otp: 27.x | ||
- elixir: 1.18.x | ||
otp: 27.x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Config | ||
|
||
if Mix.env() == :dev do | ||
config :mix_test_watch, | ||
clear: true | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.