Skip to content

Commit be0e00f

Browse files
committed
ci: update format check workflow to use centralised reusable workflow
Additionally, move the format check workflow to a separate job, following convention.
1 parent 4238b6a commit be0e00f

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflows/FormatCheck.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "Format Check"
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
tags: '*'
8+
pull_request:
9+
10+
jobs:
11+
format-check:
12+
name: "Format Check"
13+
uses: "SciML/.github/.github/workflows/format-check.yml@v1"

.github/workflows/Tests.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,8 @@ concurrency:
2020
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
2121

2222
jobs:
23-
format-check:
24-
name: "Format Check"
25-
uses: "SciML/.github/.github/workflows/format-check.yml@v1"
26-
2723
tests:
2824
name: "Tests"
29-
needs: format-check
3025
strategy:
3126
fail-fast: false
3227
matrix:

0 commit comments

Comments
 (0)