Skip to content

try appending to julia formatter #14

try appending to julia formatter

try appending to julia formatter #14

Workflow file for this run

name: Format YAML
on: [push]
jobs:
format:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Download yamlfmt binary
run: |
curl -L https://github.com/google/yamlfmt/releases/download/v0.11.0/yamlfmt_0.11.0_Linux_x86_64.tar.gz -o yamlfmt
chmod +x yamlfmt
- name: Format YAML files
run: ./yamlfmt -d path/to/your/folder
exit-code: 0

Check failure on line 17 in .github/workflows/yaml_format.yml

View workflow run for this annotation

GitHub Actions / Format YAML

Invalid workflow file

The workflow is not valid. .github/workflows/yaml_format.yml (Line: 17, Col: 7): Unexpected value 'exit-code'
- name: Check formatting diff
if: steps.filter.outputs.julia_file_change == 'true'
run: |
git diff --color=always --exit-code