Skip to content

Commit 67bf9a8

Browse files
committed
refactor: simplify pre-commit workflow by removing push triggers and Gradle caching
1 parent 8081767 commit 67bf9a8

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

.github/workflows/pre-commit.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Lint with Pre-commit
22

33
on:
4-
push:
5-
branches: [master, main, develop]
64
pull_request:
75
branches: [master, main, develop]
86

@@ -29,23 +27,8 @@ jobs:
2927
java-version: 25
3028
cache: gradle
3129

32-
- name: Cache Gradle dependencies
33-
uses: actions/cache@v4
34-
with:
35-
path: |
36-
~/.gradle/caches
37-
~/.gradle/wrapper
38-
~/.gradle/daemon
39-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle/wrapper/gradle-wrapper.properties') }}
40-
restore-keys: |
41-
${{ runner.os }}-gradle-
42-
4330
- name: Setup Gradle
4431
uses: gradle/actions/setup-gradle@v5
45-
with:
46-
build-scan-publish: true
47-
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
48-
build-scan-terms-of-use-agree: "yes"
4932

5033
- name: Set up Python
5134
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)