CompatHelper: add new compat entry for ADTypes at version 1 for package tutorials, (keep existing compat) #2598
This file contains 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: Format | |
on: | |
push: | |
branches: [master] | |
tags: [v*] | |
pull_request: | |
jobs: | |
format: | |
name: "Format Check" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
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' | |
with: | |
tool_name: JuliaFormatter | |
fail_on_error: true |