SciML / .github

Organization-wide .github actions and other metadata
MIT License
3 stars 2 forks source link

Add `julia-actions/julia-format` for formatting the PRs #13

Closed prbzrg closed 5 months ago

prbzrg commented 5 months ago

It would be helpful to have https://github.com/julia-actions/julia-format for PRs. It can suggest format automatically, so there would be no need for manual format commits. Also, it is very simple:

name: Format Suggestions
on:
  pull_request:
jobs:
  code-style:
    runs-on: ubuntu-latest
    steps:
      - uses: julia-actions/julia-format@v3
ChrisRackauckas commented 5 months ago

Yeah @thazhemadam was going to add it.

thazhemadam commented 5 months ago

This is already possible through the reusable workflows set up in this repository; which are more configurable and require even lesser boilerplate.