Skip to content

Commit

Permalink
Create pull-request.yml
Browse files Browse the repository at this point in the history
Created Github action for pull requests. Recommendations from MikAoJk.
  • Loading branch information
echokrist authored Jan 4, 2025
1 parent e84d5ac commit 33f4cd9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: build pull request

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'gradle'
- name: build
run: ./gradlew clean build
- name: test
run: ./gradlew test

0 comments on commit 33f4cd9

Please sign in to comment.