Skip to content

Bump requests from 2.28.1 to 2.31.0 in /examples/python #34

Bump requests from 2.28.1 to 2.31.0 in /examples/python

Bump requests from 2.28.1 to 2.31.0 in /examples/python #34

Workflow file for this run

name: Validate API Spec
on:
push:
workflow_dispatch:
jobs:
validate:
name: Main
runs-on: ubuntu-latest
steps:
# By default, when you use actions/checkout on a PR, it will checkout the
# head commit in a detached head state. If you want to make some changes,
# you have to checkout the branch the PR is coming from in the head repo.
#
# https://github.com/EndBug/add-and-commit#working-with-prs
- uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
if: github.event_name == 'pull_request'
- uses: actions/checkout@v3
if: github.event_name != 'pull_request'
# Setup environment
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- name: yarn install
run: |
yarn install --frozen-lockfile
# Rebuild generated files and commit changes (if any)
- name: yarn generate
run: |
yarn generate
- name: Commit changes (if any)
uses: EndBug/add-and-commit@v9
with:
add: 'generated/'
message: 'chore: update generated files'
committer_name: GitHub Actions
committer_email: [email protected]
# Lint everything
- name: yarn lint
run: |
yarn lint
# Checking for breaking changes
- name: Checkout base branch
uses: actions/checkout@v2
with:
path: _base
ref: main
- name: Check v1beta for breaking changes
uses: mvegter/[email protected]
with:
head-spec: generated/spec/v1beta.json
base-spec: _base/generated/spec/v1beta.json
- name: Check v1 for breaking changes
uses: mvegter/[email protected]
with:
head-spec: generated/spec/v1.json
base-spec: _base/generated/spec/v1.json