From 46b90266ea8a8600c288ff9c991ea32e86065b6b Mon Sep 17 00:00:00 2001 From: Scott Newcomer Date: Sat, 14 Jan 2023 08:08:24 -0600 Subject: [PATCH 1/3] Bump stripe-mock --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40fc1897..140d0f44 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: test: env: MIX_ENV: test - STRIPE_MOCK_VERSION: 0.123.0 + STRIPE_MOCK_VERSION: 0.144.0 STRIPE_SECRET_KEY: non_empty_string SKIP_STRIPE_MOCK_RUN: true runs-on: ubuntu-20.04 @@ -23,7 +23,7 @@ jobs: otp: [24] services: stripe-mock: - image: stripe/stripe-mock:v0.123.0 + image: stripe/stripe-mock:v0.144.0 ports: - 12111:12111 - 12112:12112 From 839ad4d82f453175702a6726c9ffecf8b5fe8f51 Mon Sep 17 00:00:00 2001 From: Scott Newcomer Date: Sat, 14 Jan 2023 08:18:05 -0600 Subject: [PATCH 2/3] expand test matrix --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 140d0f44..710946fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,9 +18,12 @@ jobs: name: Test (OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}) strategy: matrix: - elixir: ['1.12'] + elixir: ['1.12', '1.13', '1.14'] # All of the above can use this version. For details see: https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp - otp: [24] + otp: [22, 23, 24] + exclude: + - elixir: '1.14' + otp: 22 services: stripe-mock: image: stripe/stripe-mock:v0.144.0 @@ -45,14 +48,12 @@ jobs: name: Linting strategy: matrix: - elixir: ['1.14', '1.13', '1.12', '1.11'] + elixir: ['1.14', '1.13', '1.12'] # All of the above can use this version. For details see: https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp otp: [24, 23, 22] exclude: - elixir: '1.14' otp: 22 - - elixir: '1.11' - otp: 24 steps: - uses: actions/checkout@v2 - uses: erlef/setup-beam@v1 From a6eccd2a738f9b38808630c16d9a2417392e3ac7 Mon Sep 17 00:00:00 2001 From: Scott Newcomer Date: Sat, 14 Jan 2023 08:27:28 -0600 Subject: [PATCH 3/3] skip stripe mock run --- .github/workflows/codegen.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codegen.yml b/.github/workflows/codegen.yml index 235dd32a..c744906c 100644 --- a/.github/workflows/codegen.yml +++ b/.github/workflows/codegen.yml @@ -43,6 +43,7 @@ jobs: LATEST_STRIPE_SDK_TAG: ${{ needs.check.outputs.latest_tag }} OTP_VERSION: "25.0" ELIXIR_VERSION: "1.14.0" + SKIP_STRIPE_MOCK_RUN: true strategy: fail-fast: false