Skip to content

Do not crash if passed --fix to a yaml file that has problems #1085

Do not crash if passed --fix to a yaml file that has problems

Do not crash if passed --fix to a yaml file that has problems #1085

Workflow file for this run

name: "ci"
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
workflow_dispatch:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
spec:
strategy:
fail-fast: false
matrix:
ruby_version:
- '3.2'
- '3.3'
- '3.4'
name: "spec (ruby ${{ matrix.ruby_version }})"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"

Check warning on line 26 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Workflow syntax warning

In .github/workflows/ci.yml (Line: 26, Col: 11): Error from called workflow puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main (Line: 54, Col: 13): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
secrets: "inherit"
with:
rake_task: "spec:coverage"
ruby_version: ${{ matrix.ruby_version }}
acceptance:
strategy:
fail-fast: false
matrix:
ruby_version:
- '3.2'
- '3.3'
- '3.4'
name: "acceptance (ruby ${{ matrix.ruby_version }})"
needs: "spec"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
secrets: "inherit"
with:
ruby_version: ${{ matrix.ruby_version }}