File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Pre-Commit
22
3+ # needed to allow julia-actions/cache to delete old caches that it has created
4+ permissions :
5+ actions : write
6+ contents : read
7+
38on :
49 push :
510 branches :
1419 runs-on : ubuntu-latest
1520 steps :
1621 - uses : actions/checkout@v4
17- - name : Install Julia
18- uses : julia-actions/setup-julia@v2
22+ - uses : julia-actions/setup-julia@v2
1923 - uses : julia-actions/cache@v2
20- - name : Install JuliaFormatter
21- run : julia -e 'using Pkg; Pkg.add("JuliaFormatter")'
22- - name : Install uv
23- uses : astral-sh/setup-uv@v6
24- - name : Install pre-commit
25- run : uv tool install pre-commit
26- - name : Run pre-commit
27- run : pre-commit run --all-files --show-diff-on-failure --color always
24+ - run : julia -e 'using Pkg; Pkg.add("JuliaFormatter")'
25+ - uses : astral-sh/setup-uv@v6
26+ - run : uv tool install pre-commit
27+ - run : pre-commit run --all-files --show-diff-on-failure --color always
You can’t perform that action at this time.
0 commit comments