Skip to content

ci: add dependabot #167

ci: add dependabot

ci: add dependabot #167

Workflow file for this run

name: Format
on:
push:
branches:
- "main"
- "release-"
tags: ["*"]
pull_request:
jobs:
format:
name: "Format Check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: 1
- name: Install JuliaFormatter and format
run: |
using Pkg
Pkg.add(PackageSpec(name="JuliaFormatter"))
using JuliaFormatter
format("."; verbose=true)
shell: julia --color=yes {0}
- name: Suggest formatting changes
uses: reviewdog/action-suggester@v1
if: github.event_name == "pull_request"

Check failure on line 29 in .github/workflows/Format.yml

View workflow run for this annotation

GitHub Actions / Format

Invalid workflow file

The workflow is not valid. .github/workflows/Format.yml (Line: 29, Col: 13): Unexpected symbol: '"pull_request"'. Located at position 22 within expression: github.event_name == "pull_request"
with:
tool_name: JuliaFormatter
fail_on_error: true