Skip to content

build by @renovate[bot] #776

build by @renovate[bot]

build by @renovate[bot] #776

Workflow file for this run

name: build
run-name: build by @${{ github.actor }}
on:
pull_request:
push:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/setup-java-gradle
- name: Build and test
run: ./gradlew build --no-daemon
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
flags: unit-tests-${{ matrix.os }}
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
integration-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/setup-java-gradle
- name: Integration test
run: ./gradlew integrationTest --no-daemon
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
flags: integration-tests-${{ matrix.os }}
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
release:
needs: [ build, integration-test ]
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0 # needed for version/tag/release
- name: Bump version
id: version
uses: paulhatch/[email protected]
- name: Create GitHub tag and release
uses: softprops/[email protected]
with:
tag_name: ${{ steps.version.outputs.version_tag }}
generate_release_notes: true