Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 546 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 546 Bytes

Speccy Lint Action

Lint the an OpenAPI spec using Speccy

Usage

input description
path path to the OpenAPI spec, default api.yaml

Example

name: lint
on:
  push:
    branches:
      - main
  pull_request:
jobs:
  lint:
    name: lint
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
      - name: lint spec
        uses: contiamo/speccy-lint-action@main
        with:
          path: api.yaml