CompatHelper: bump compat for MLJBase to 1 for package docs, (keep existing compat) #308
Workflow file for this run
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: | |
- main | |
pull_request: | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: 1 | |
- name: Format code | |
run: | | |
using Pkg | |
Pkg.add(; name="JuliaFormatter", uuid="98e50ef6-434e-11e9-1051-2b60c6c9e899") | |
using JuliaFormatter | |
format("."; verbose=true) | |
shell: julia --color=yes {0} | |
- uses: reviewdog/action-suggester@v1 | |
if: github.event_name == 'pull_request' | |
with: | |
tool_name: JuliaFormatter | |
fail_on_error: true |