Force versions in attempt to address conflicts and compilation issues. #172
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: Build under Ubuntu | |
on: push | |
jobs: | |
build: | |
name: Build under Ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: zulu | |
cache: gradle | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- name: Pull config | |
run: git submodule update --init --recursive | |
- name: Build project and run tests | |
shell: bash | |
run: ./gradlew build --stacktrace | |
# See: https://github.com/marketplace/actions/junit-report-action | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v3.7.6 | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: '**/build/test-results/**/TEST-*.xml' | |
require_tests: true # will fail workflow if test reports not found | |
- name: Upload code coverage report | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: false | |
verbose: true |