forked from squareduck/ex_aws
-
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.
Merge remote-tracking branch 'upstream/main'
# Conflicts: # lib/ex_aws/config.ex # mix.exs # mix.lock
- Loading branch information
Showing
22 changed files
with
1,036 additions
and
127 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 |
---|---|---|
|
@@ -7,25 +7,72 @@ env: | |
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
# See https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp | ||
strategy: | ||
matrix: | ||
otp: ["23.3.4.6"] | ||
elixir: ["1.10.4", "1.11.4", "1.12.3", "1.13.4", "1.14.2"] | ||
include: | ||
- pair: | ||
otp: 26.x | ||
elixir: 1.16.x | ||
lint: lint | ||
- pair: | ||
otp: 26.x | ||
elixir: 1.15.x | ||
- pair: | ||
otp: 25.x | ||
elixir: 1.15.x | ||
- pair: | ||
otp: 25.x | ||
elixir: 1.14.x | ||
- pair: | ||
otp: 25.x | ||
elixir: 1.13.x | ||
- pair: | ||
otp: 24.x | ||
elixir: 1.15.x | ||
- pair: | ||
otp: 24.x | ||
elixir: 1.14.x | ||
- pair: | ||
otp: 24.x | ||
elixir: 1.13.x | ||
- pair: | ||
otp: 24.x | ||
elixir: 1.12.x | ||
- pair: | ||
otp: 23.x | ||
elixir: 1.14.x | ||
- pair: | ||
otp: 23.x | ||
elixir: 1.13.x | ||
- pair: | ||
otp: 23.x | ||
elixir: 1.12.x | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- uses: erlef/setup-beam@v1 | ||
with: | ||
otp-version: ${{matrix.otp}} | ||
elixir-version: ${{matrix.elixir}} | ||
version-type: strict | ||
- uses: rrainn/[email protected] | ||
otp-version: ${{matrix.pair.otp}} | ||
elixir-version: ${{matrix.pair.elixir}} | ||
- uses: rrainn/[email protected] | ||
with: | ||
port: 8000 | ||
cors: "*" | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
deps | ||
_build | ||
key: ${{ runner.os }}-mix-${{matrix.pair.otp}}-${{matrix.pair.elixir}}-${{ hashFiles('**/mix.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-mix-${{matrix.pair.otp}}-${{matrix.pair.elixir}}- | ||
- run: mix deps.get | ||
- run: mix compile | ||
- run: mix deps.unlock --check-unused | ||
if: ${{matrix.lint}} # Only check formatting with the latest verison | ||
- run: mix format --check-formatted | ||
if: matrix.elixir == '1.14.2' # Only check formatting with the latest verison | ||
if: ${{matrix.lint}} | ||
- run: mix dialyzer | ||
if: matrix.elixir == '1.14.2' | ||
if: ${{matrix.lint}} | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
elixir 1.14.2 | ||
elixir 1.16.3-otp-26 | ||
erlang 26.2.5 |
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,5 @@ | ||
Before opening a PR, please make sure you have: | ||
|
||
* Run `mix format` using a recent version of Elixir | ||
* Run `mix dialyzer` to make sure the typing is correct | ||
* Run `mix test` to ensure no tests have broken (also please make sure you've added tests for your particular change, where appropriate). |
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.