Skip to content

Updated github action #4

Updated github action

Updated github action #4

name: Code checks on Pull Request
on: push
# push:
# branches:
# - 'main'
# - 'dev'
# workflow_dispatch:
# pull_request:
# branches:
# - 'master'
# - 'release/**'
# - 'dev'
# push:
# branches:
# - 'main'
# workflow_dispatch:
jobs:
build:
name: Code checks on Pull Request
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Run unit tests
run: ./gradlew test