Skip to content

Commit

Permalink
add code formatter job
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonEhrig committed Sep 25, 2023
1 parent ce02787 commit 7b56b62
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/formatter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: formatter
on: [push, pull_request]
jobs:
formatter:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: install Julia
uses: julia-actions/setup-julia@v1
with:
version: 1.9
- name: Install Julia requirements
run: julia --project=.formatting -e 'import Pkg; Pkg.instantiate()'
- name: Check code style
run: julia --project=.formatting .formatting/format_all.jl

0 comments on commit 7b56b62

Please sign in to comment.