Skip to content

Bump gradle/actions from 3 to 4 #564

Bump gradle/actions from 3 to 4

Bump gradle/actions from 3 to 4 #564

Workflow file for this run

name: benchmark
on:
push:
jobs:
benchmark:
timeout-minutes: 10
if: github.repository == 'open-coap/kotlin-mbedtls'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build
run: ./gradlew jmhJar
- name: Run benchmarks
run: ./gradlew jmh
- name: print summary
run: |
echo '### JMH report' >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
find . -path '*/results/jmh/*.txt' -type f | xargs cat >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY