diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f59e56c82..0d22d0a82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,11 +109,17 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false + - name: Read OpenAPI version + id: openapi + shell: bash + run: echo "version=$(< OPENAPI_VERSION)" >> "$GITHUB_OUTPUT" - name: Set up Python ${{ matrix.python_version }} uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: ${{ matrix.python_version }} - uses: stripe/openapi/actions/stripe-mock@master + with: + openapi_version: ${{ steps.openapi.outputs.version }} - name: "run tests" run: just test