-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since Elixir 1.15 is out, 1.10 is not supported anymore. This also allows us to get rid of deprecation warnings. https://hexdocs.pm/elixir/1.15.0/compatibility-and-deprecations.html
- Loading branch information
1 parent
cde0785
commit f3272c7
Showing
6 changed files
with
33 additions
and
15 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 |
---|---|---|
|
@@ -9,23 +9,38 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
otp: ["24"] | ||
elixir: ["1.11", "1.12", "1.13", "1.14", "1.15"] | ||
otp: [23.x, 24.x, 25.x] | ||
elixir: [1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x] | ||
exclude: | ||
- otp: 25.x | ||
elixir: 1.11.x | ||
- otp: 25.x | ||
elixir: 1.12.x | ||
- otp: 23.x | ||
elixir: 1.15.x | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: erlef/setup-beam@v1 | ||
with: | ||
otp-version: ${{matrix.otp}} | ||
elixir-version: ${{matrix.elixir}} | ||
version-type: strict | ||
- uses: rrainn/[email protected] | ||
with: | ||
port: 8000 | ||
cors: "*" | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
deps | ||
_build | ||
key: ${{ runner.os }}-mix-${{matrix.otp}}-${{matrix.elixir}}-${{ hashFiles('**/mix.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-mix-${{matrix.otp}}-${{matrix.elixir}}- | ||
- run: mix deps.get | ||
- run: mix compile | ||
- run: mix format --check-formatted | ||
if: matrix.elixir == '1.15' # Only check formatting with the latest verison | ||
if: matrix.elixir == '1.15.x' # Only check formatting with the latest verison | ||
- run: mix dialyzer | ||
if: matrix.elixir == '1.15' | ||
if: matrix.elixir == '1.15.x' | ||
- run: mix test |
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