Implemented the shoot function and tests #116
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: Gradle Build and Test | |
on: | |
pull_request: | |
push: | |
jobs: | |
build: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: '22' | |
cache: 'gradle' | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Run tests with Gradle | |
run: ./gradlew test |