Skip to content

Bump updates

Bump updates #634

name: Antibytes CI - Pull-Request Validation
on:
pull_request:
types: [opened, synchronize, edited, reopened]
branches:
- main
- feature/*
- release/*
- core/*
- plugin/*
- bugfix/*
workflow_dispatch:
jobs:
build:
uses: bitpogo/workflows/.github/workflows/shared-build-macos.yml@main
concurrency:
group: build-macos-${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
coding-conventions:
needs: build
uses: bitpogo/workflows/.github/workflows/shared-coding-conventions-macos.yml@main
with:
cache-reports: true
detekt: true
api-check: true
concurrency:
group: coding-conventions-${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
check-android:
needs: build
uses: bitpogo/workflows/.github/workflows/shared-test-android-macos.yml@main
with:
projects: "[':integration-kmp', ':integration-android-application']"
api-level: "['31']"
arch: "['x86_64']"
coverage: true
cache-reports: true
concurrency:
group: check-android-${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
coverage:
needs: [coding-conventions, check-android]
uses: bitpogo/workflows/.github/workflows/shared-coverage-macos.yml@main
with:
jvm: true
verify-kmp: true
restore-cached-reports: true
use-sonar: true
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
sonar-token: ${{ secrets.SONAR_TOKEN }}
concurrency:
group: coverage-${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
check:
needs: build
uses: bitpogo/workflows/.github/workflows/shared-test-kmp.yml@main
with:
platforms: "['ios', 'macos', 'tvos', 'watchos', 'linux-js', 'mingw']"
concurrency:
group: check-${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
publish:
needs: [ coverage, check ]
uses: bitpogo/workflows/.github/workflows/shared-publish-pull-request.yml@main
secrets:
upload-username: ${{ secrets.PACKAGE_REGISTRY_UPLOAD_USERNAME }}
upload-token: ${{ secrets.PACKAGE_REGISTRY_UPLOAD_TOKEN }}
maven-key: ${{ secrets.MAVEN_GPG_KEY }}
maven-pass: ${{ secrets.MAVEN_GPG_PASS }}
concurrency:
group: publish-${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true