Skip to content

Commit

Permalink
Update workflows (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
BraisGabin authored Jun 28, 2024
1 parent 4be5499 commit 3e7d0b0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/gradle-wrapper-validation.yml

This file was deleted.

14 changes: 10 additions & 4 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
uses: actions/checkout@v4
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
validate-wrappers: true
- name: Run tests
run: ./gradlew build
publish:
Expand All @@ -24,17 +26,21 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Check that the publish plugin works
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build
with:
validate-wrappers: true
- name: Check that the publish plugin works
run: ./gradlew publishToMavenLocal
compile-test-snippets:
name: Compile test snippets
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Compile the snippets in the tests
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build
with:
validate-wrappers: true
- name: Compile the snippets in the tests
run: ./gradlew test -Pcompile-test-snippets

0 comments on commit 3e7d0b0

Please sign in to comment.