Skip to content

Commit

Permalink
ci: use julia-actions/julia-format action
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenpi committed Jun 21, 2024
1 parent 5551e30 commit 88ec6c4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 41 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/format-julia.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Format: Julia"
on:
push:
branches:
- main
paths:
- "**.jl"
- ".JuliaFormatter.toml"
pull_request:

env:
CI: true

jobs:
format-julia:
runs-on: ubuntu-latest
steps:
# - uses: julia-actions/julia-format@v3
- uses: zot/julia-format@zot/restore-file-list
with:
# Version compat for JuliaFormatter.jl (default: '1')
# E.g. set to '1.0.54' if you need to use JuliaFormatter.jl v1.0.54
version: '1'
# GitHub PR label that enabled formatting suggestions.
# Leave this unset or empty to show suggestions for all PRs.
suggestion-label: 'format-suggest'
41 changes: 0 additions & 41 deletions .github/workflows/julia_formatter.yml

This file was deleted.

0 comments on commit 88ec6c4

Please sign in to comment.