Skip to content

Commit

Permalink
Use looser version restrictions; fix DDB test config
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardd committed Aug 14, 2023
1 parent fa5c7dc commit 042f29a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
otp: ["23.3.4.6"]
elixir: ["1.10.4", "1.11.4", "1.12.3", "1.13.4", "1.14.2"]
otp: ["24"]
elixir: ["1.11", "1.12", "1.13", "1.14", "1.15"]
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
Expand All @@ -25,7 +25,7 @@ jobs:
- run: mix deps.get
- run: mix compile
- run: mix format --check-formatted
if: matrix.elixir == '1.14.2' # Only check formatting with the latest verison
if: matrix.elixir == '1.15' # Only check formatting with the latest verison
- run: mix dialyzer
if: matrix.elixir == '1.14.2'
if: matrix.elixir == '1.15'
- run: mix test
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
elixir 1.14.2
elixir 1.15
4 changes: 2 additions & 2 deletions config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ config :logger, level: :warn

config :ex_aws,
json_codec: Test.JSONCodec,
access_key_id: ["test_key_id"],
secret_access_key: ["secret_access_key"]
access_key_id: "testkeyid",
secret_access_key: "secretaccesskey"

config :ex_aws, :kinesis,
scheme: "https://",
Expand Down
2 changes: 1 addition & 1 deletion lib/ex_aws/utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ defmodule ExAws.Utils do
def camelize(string) do
string
|> to_charlist
|> Enum.reduce({true, ''}, fn
|> Enum.reduce({true, ~c""}, fn
?_, {_, acc} -> {true, acc}
?/, {_, acc} -> {false, [?. | acc]}
char, {false, acc} -> {false, [char | acc]}
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule ExAws.Mixfile do
[
app: :ex_aws,
version: @version,
elixir: "~> 1.10",
elixir: "~> 1.11",
elixirc_paths: elixirc_paths(Mix.env()),
description: "Generic AWS client",
name: "ExAws",
Expand Down

0 comments on commit 042f29a

Please sign in to comment.