Skip to content

Update dependency gradle to v8.10.1 #152

Update dependency gradle to v8.10.1

Update dependency gradle to v8.10.1 #152

Workflow file for this run

on:
pull_request:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
test-job:
runs-on: ubuntu-latest
name: Smoke test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: |
19
20
- uses: gradle/gradle-build-action@v3
- id: build-lib
run: ./gradlew build
- id: copy-lib
if: github.event_name == 'pull_request'
run: cp ./build/libs/ftl-tests-results-r8.jar .
- id: ftl-tests-summary
if: github.event_name == 'pull_request'
uses: ./
with:
merged-results-file: "src/test/resources/results-with-errors-and-flakes.xml"
- uses: peter-evans/find-comment@v3
id: find_comment
if: github.event_name == 'pull_request'
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: "Smoke test"
- uses: peter-evans/create-or-update-comment@v4
if: ${{ steps.ftl-tests-summary.outputs.summary-markdown != null || steps.find_comment.outputs.comment-id != null }}
with:
body: |
Smoke test
${{ steps.ftl-tests-summary.outputs.summary-markdown }}
edit-mode: replace
comment-id: ${{ steps.find_comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.GITHUB_TOKEN }}