Skip to content

add test coverage

add test coverage #20

Workflow file for this run

name: Default build pipeline
on:
push:
branches: [ "main", "master" ]
workflow_dispatch:
permissions:
packages: write
contents: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fetch Tags
run: git fetch --unshallow --tags
- name: Set up JDK 21
uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
- name: Build with Gradle
uses: gradle/gradle-build-action@87a9a15658c426a54dd469d4fc7dc1a73ca9d4a6 # v2.10.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
arguments: build -Preckon.stage=final -Preckon.scope=patch reckonTagCreate
- name: Push git tag
uses: gradle/gradle-build-action@87a9a15658c426a54dd469d4fc7dc1a73ca9d4a6 # v2.10.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
arguments: reckonTagPush
- name: Deploy artifacts to GitHub Packages
uses: gradle/gradle-build-action@87a9a15658c426a54dd469d4fc7dc1a73ca9d4a6 # v2.10.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
arguments: publish