Skip to content

Copy last result to clipboard #59

Copy last result to clipboard

Copy last result to clipboard #59

Workflow file for this run

name: run test
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for Gradle wrapper
run: chmod +x gradlew
- name: Run tests
run: ./gradlew test
- name: Run ktlint check
run: ./gradlew ktlintCheck