Skip to content

Migrate to libs.versions.toml, upgrade dependencies (#17) #20

Migrate to libs.versions.toml, upgrade dependencies (#17)

Migrate to libs.versions.toml, upgrade dependencies (#17) #20

Workflow file for this run

name: check
on:
pull_request:
paths-ignore:
- "docs/**"
- "*.md"
push:
branches:
- master
env:
ENVIRONMENT: TESTING
JVM_OPTS: -Xmx1024M
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.workers.max=3 -Xmx4096m -Dorg.gradle.configureondemand=true -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
TERM: dumb
jobs:
gradle:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:8
ports:
- 3306:3306
env:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
steps:
- uses: actions/checkout@v2
- name: Hermit
run: ./bin/hermit env -r >> $GITHUB_ENV
- name: Gradle Check
# If retries are no longer needed, can stick with the simpler gradle action
# uses: gradle/gradle-build-action@v2
uses: nick-fields/retry@v2
with:
max_attempts: 3
timeout_minutes: 30
retry_on: error
command: bin/gradle check --stacktrace
- name: Misk-Web Build
run: npm i -g @misk/[email protected] && miskweb ci-build -e
- name: Publish Test Report
if: ${{ always() }}
uses: mikepenz/action-junit-report@v3
with:
check_name: Test Report
report_paths: '**/build/test-results/test/TEST-*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}