Bump dependencies #25
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
# Continuous Integration | |
name: Build | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
# ================================ | |
# SHALLOW CLONE | |
# ================================ | |
- name: Shallow clone | |
uses: actions/checkout@v4 | |
# ================================ | |
# VALIDATE GRADLE WRAPPER | |
# ================================ | |
- name: Validate Gradle Wrapper files | |
uses: gradle/actions/wrapper-validation@v3 | |
# ================================ | |
# SET UP JDK | |
# ================================ | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-package: jdk | |
java-version: 17 | |
# ================================ | |
# SET UP GRADLE | |
# ================================ | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
build-scan-publish: true | |
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use" | |
build-scan-terms-of-use-agree: "yes" | |
cache-read-only: ${{ github.ref_name != 'main' && github.ref_name != 'develop' }} | |
# ================================ | |
# BUILD | |
# ================================ | |
- name: Build | |
run: ./gradlew build |