Skip to content

Fix typo in plotly_colorscale #2607

Fix typo in plotly_colorscale

Fix typo in plotly_colorscale #2607

Workflow file for this run

name: format
on:
workflow_dispatch:
pull_request:
push:
branches: [master, v2]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
- name: Install dependencies
run: |
using Pkg
Pkg.add("JuliaFormatter")
shell: julia --color=yes {0}
- name: Format Julia files
run: |
using JuliaFormatter
format(["RecipesBase", "RecipesPipeline", "PlotsBase", "src", "test", "GraphRecipes", "StatsPlots"])
shell: julia --color=yes --compile=min -O0 {0}
- name: suggester / JuliaFormatter
if: success() && github.ref == 'refs/heads/master'
uses: reviewdog/action-suggester@v1
with:
tool_name: JuliaFormatter
fail_on_error: true
# reviewdog/action-suggester not using `cleanup` flag?
- name: Cleanup
if: success() || failure()
run: |
git checkout -- .
git clean --force
shell: bash