Skip to content

Commit

Permalink
testing formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
ThummeTo committed Aug 9, 2024
1 parent 33a91bc commit 008f4f4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/Formatting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Runic formatting
on:
push:
branches:
- 'master'
- 'release-'
tags:
- '*'
pull_request:
jobs:
runic:
name: Runic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: "nightly" # Only nightly have the -m flag currently
- uses: julia-actions/cache@v2
- name: Install Runic
run: |
julia --color=yes --project=@runic -e 'using Pkg; Pkg.add(url = "https://github.com/fredrikekre/Runic.jl")'
- name: Run Runic
run: |
git ls-files -z -- '*.jl' | xargs -0 julia --project=@runic -m Runic --check --diff

0 comments on commit 008f4f4

Please sign in to comment.