Skip to content

build(deps): bump fast-uri from 3.0.6 to 3.1.2 #5068

build(deps): bump fast-uri from 3.0.6 to 3.1.2

build(deps): bump fast-uri from 3.0.6 to 3.1.2 #5068

Workflow file for this run

name: Code linting
on:
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version-file: '.nvmrc'
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
with:
path: node_modules
key: release-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
run: npm ci
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
# openapi-linting:
# runs-on: ubuntu-24.04
# steps:
# - name: Clone repo
# uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
# - uses: stoplightio/spectral-action@6416fd018ae38e60136775066eb3e98172143141 # v0.8.13
# with:
# file_glob: 'model-server-openapi/specifications/model-server-*.yaml'
# spectral_ruleset: .spectral.yaml
# continue-on-error: true
openapi-breaking-changes:
runs-on: ubuntu-24.04
permissions:
pull-requests: write
steps:
- name: Clone repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
# We need the history to find the common ancestor of the PR and the target branch from which we fetch the
# baseline OpenAPI specifications to compare against.
fetch-depth: 0
- name: Fetch baseline OpenAPI specifications
run: |
mergeBase="$(git merge-base --fork-point "origin/${{ github.base_ref }}")"
echo "mergeBase: $mergeBase"
git restore -s "$mergeBase" -W -- model-server-openapi/specifications
cp -R model-server-openapi/specifications model-server-openapi/specifications-before
git checkout model-server-openapi/specifications
- name: Run oasdiff
id: breaking
uses: oasdiff/oasdiff-action/breaking@0b59b343a8d675602f20f0ed4a64dda45edcc0d2 # main
with:
base: 'model-server-openapi/specifications-before/*.yaml'
revision: 'model-server-openapi/specifications/*.yaml'
composed: true