Gradle support for play-java-compile-di-example
#636
Workflow file for this run
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: Check | |
on: | |
pull_request: | |
push: | |
branches: | |
- 3.0.x # Check branch after merge | |
concurrency: | |
# Only run once for latest commit per ref and cancel other (previous) runs. | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# check-code-style: | |
# name: Code Style | |
# uses: playframework/.github/.github/workflows/cmd.yml@v3 | |
# with: | |
# cmd: sbt validateCode | |
tests: | |
name: Sbt Tests | |
# needs: | |
# - "check-code-style" | |
uses: playframework/.github/.github/workflows/cmd.yml@v3 | |
with: | |
java: 17, 11 | |
scala: 2.13.x, 3.x | |
cmd: | | |
# sudo add-apt-repository -y ppa:ondrej/php && sudo apt-get -qq update && sudo apt-get install -y libsodium-dev # for secure session examples | |
./test.sh | |
gradle-tests: | |
name: Gradle Tests | |
uses: playframework/.github/.github/workflows/cmd.yml@v3 | |
with: | |
java: 17, 11 | |
scala: 2.13.x, 3.x | |
cmd: | | |
./test-gradle.sh | |
finish: | |
name: Finish | |
if: github.event_name == 'pull_request' | |
needs: # Should be last | |
- "tests" | |
- "gradle-tests" | |
uses: playframework/.github/.github/workflows/rtm.yml@v3 |