Skip to content

Bump dependency zizmor to v1.16.0 #1358

Bump dependency zizmor to v1.16.0

Bump dependency zizmor to v1.16.0 #1358

Workflow file for this run

name: build
on:
push:
branches: [ main ]
paths-ignore:
- '**/*.gitattributes'
- '**/*.gitignore'
- '**/*.md'
pull_request:
branches:
- main
- dotnet-vnext
- dotnet-nightly
workflow_dispatch:
permissions: {}
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: 1
FORCE_COLOR: 3
NUGET_XMLDOC_MODE: skip
# renovate: datasource=npm depName=spectral-cli packageName=@stoplight/spectral-cli
SPECTRAL_CLI_VERSION: '6.15.0'
TERM: xterm
jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
filter: 'tree:0'
persist-credentials: false
show-progress: false
- name: Setup .NET SDK
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
- name: Setup Node
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: '24'
- name: Build and Test
shell: pwsh
run: ./build.ps1
- name: Install Spectral
shell: pwsh
run: npm install -g "@stoplight/spectral-cli@${env:SPECTRAL_CLI_VERSION}"
- name: Run Spectral
run: spectral lint "./artifacts/openapi/*" --fail-severity warn --format github-actions