ci(deps): update actions/checkout action to v4 #10
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: 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 |