Merge pull request #140 from open200/92-update-github-action-versions #428
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: push and pull_request workflow | |
on: | |
push: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
- name: set up gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: test with gradle | |
run: ./gradlew test | |
- name: build with gradle | |
run: ./gradlew build |