-
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.
Merge pull request #975 from ex-aws/floatpays-bump-elixir-version
Bump min elixir version
- Loading branch information
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