Skip to content

Commit

Permalink
Split ci
Browse files Browse the repository at this point in the history
  • Loading branch information
issy committed Nov 17, 2024
1 parent 23df385 commit fbc34fa
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Gradle
name: Build

on:
push:
Expand All @@ -8,7 +8,6 @@ on:

jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test:
name: Test
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@v4
- name: Set up JDK 23
uses: actions/setup-java@v4
with:
java-version: '23'
distribution: 'corretto'

- name: Set up Gradle
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0

- name: Execute tests with Gradle Wrapper
run: ./gradlew test

0 comments on commit fbc34fa

Please sign in to comment.