Skip to content

chore(deps): bump actions/checkout from 2 to 4 (#242) #566

chore(deps): bump actions/checkout from 2 to 4 (#242)

chore(deps): bump actions/checkout from 2 to 4 (#242) #566

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
checks: write
jobs:
spectral:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: curl https://italia.github.io/api-oas-checker/spectral-full.yml > .spectral.yml
# Get additional module required by spectral-full
- run: mkdir functions
- run: curl https://raw.githubusercontent.com/italia/api-oas-checker/f6f4e6e360b2ce9816dcca29396571dda1c6027d/security/functions/checkSecurity.js > functions/checkSecurity.js
- uses: stoplightio/[email protected]