From 72972107cc458728c03273ef99600010808ae886 Mon Sep 17 00:00:00 2001 From: Scott Newcomer Date: Sat, 14 Jan 2023 14:22:01 -0600 Subject: [PATCH] Bump stripe-mock (#779) * Bump stripe-mock * expand test matrix * skip stripe mock run --- .github/workflows/ci.yml | 15 ++++++++------- .github/workflows/codegen.yml | 1 + 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40fc1897..710946fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,19 +11,22 @@ 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 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.123.0 + image: stripe/stripe-mock:v0.144.0 ports: - 12111:12111 - 12112:12112 @@ -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 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