Skip to content

Commit

Permalink
Merge pull request #20 from ioggstream/patch-1
Browse files Browse the repository at this point in the history
Lint with API Rules
  • Loading branch information
sebbalex authored Sep 24, 2020
2 parents 641a97e + 9a1e9f8 commit a8533fa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/oas-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This is a basic workflow to help you get started with Actions

name: OpenAPI

on:
push:
branches:
- "*"
pull_request:
branches:
- "*"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: API Guidelines linter - beta
uses: ioggstream/api-oas-checker-action@v0.6.4-italia
with:
# The pattern describing the file paths to lint with Spectral
file_glob: api_spec_oa3.yml

0 comments on commit a8533fa

Please sign in to comment.