Generate Vacuum Reports #6
This file contains hidden or 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: Generate Vacuum Reports | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- dereferenced/deref-sailpoint-api.v2024.yaml | |
- dereferenced/deref-sailpoint-api.beta.yaml | |
- dereferenced/deref-sailpoint-api.nerm.yaml | |
- dereferenced/deref-sailpoint-api.v3.yaml | |
jobs: | |
generate-reports: | |
name: Generate Vacuum Reports | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
spec-name: [v2024, beta, nerm, v3] | |
steps: | |
- name: Checkout PR branch | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.ref }} | |
- name: Install Vacuum | |
run: | | |
brew install daveshanley/vacuum/vacuum | |
- name: Generate Vacuum Reports | |
run: | | |
mkdir -p reports | |
vacuum html-report ./dereferenced/deref-sailpoint-api.${{ matrix.spec-name }}.yaml ./reports/${{ matrix.spec-name }}.html | |
- name: Upload Reports | |
uses: actions/upload-artifact@v4 | |
with: | |
name: reports | |
path: | | |
./reports/${{ matrix.spec-name }}.html |