Skip to content

ci(deps): update actions/checkout action to v4 #10

ci(deps): update actions/checkout action to v4

ci(deps): update actions/checkout action to v4 #10

Workflow file for this run

name: OpenAPI
on:
pull_request:
paths: [ openapi/** ]
push:
branches: [ main ]
tags: [ "*" ]
permissions:
contents: read
jobs:
lint:
name: Lint OpenAPI Spec
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: latest
- name: Install Redocly CLI
run: npm install --global @redocly/cli
- name: Lint OpenAPI Spec
run: make lint-openapi
test:
name: Build OpenAPI Spec
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: latest
- name: Install Redocly CLI
run: npm install --global @redocly/cli
- name: Lint OpenAPI Spec
run: make openapi