Bump github.com/getkin/kin-openapi from 0.126.0 to 0.127.0 (#1850) #4837
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
name: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" | |
pull_request: | |
branches: | |
- main | |
merge_group: | |
branches: | |
- main | |
types: | |
- checks_requested | |
jobs: | |
test-go: | |
name: "Test Go" | |
strategy: | |
fail-fast: false | |
matrix: | |
# https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources | |
platform: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.platform }} | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --no-cache uv | |
python -m uv pip install '.' | |
- name: Build | |
run: make cog | |
- name: Lint | |
run: make lint-go || true | |
- name: Test | |
run: make test-go | |
test-python: | |
name: "Test Python ${{ matrix.python-version }}" | |
runs-on: ubuntu-latest-8-cores | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --no-cache uv | |
python -m uv pip install '.[dev]' | |
- name: Lint | |
run: | | |
if [[ $(python -c 'import sys; print(sys.version_info >= (3, 10))') == "True" ]]; then | |
make lint-python || true | |
fi | |
- name: Test | |
run: make test-python | |
env: | |
HYPOTHESIS_PROFILE: ci | |
# cannot run this on mac due to licensing issues: https://github.com/actions/virtual-environments/issues/2150 | |
test-integration: | |
name: "Test integration" | |
runs-on: ubuntu-latest-16-cores | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --no-cache uv | |
python -m uv pip install '.[dev]' | |
- name: Test | |
run: make test-integration |