Skip to content

Commit 64e82b3

Browse files
authored
Merge pull request #626 from ELIXIR-NO/fix/remove-code-format-push
change code format-code.yml to spotless-check.yml
2 parents 3441225 + 92c58d5 commit 64e82b3

File tree

2 files changed

+26
-63
lines changed

2 files changed

+26
-63
lines changed

.github/workflows/format-code.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Check formatting
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
paths:
8+
- "lib/**"
9+
- "services/**"
10+
- "buildSrc/**"
11+
12+
jobs:
13+
check-formatting:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v5
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v5
21+
with:
22+
distribution: "temurin"
23+
java-version: "21"
24+
25+
- name: Check formatting
26+
run: ./gradlew spotlessCheck

0 commit comments

Comments
 (0)