opentelemetry-java-instrume.../.github/workflows/build-daily.yml

45 lines
1.2 KiB
YAML

name: Build (daily)
on:
schedule:
# strange schedule to reduce the risk of DDOS GitHub infra
- cron: "24 3 * * *"
workflow_dispatch:
jobs:
common:
uses: ./.github/workflows/build-common.yml
secrets:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
GE_CACHE_USERNAME: ${{ secrets.GE_CACHE_USERNAME }}
GE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }}
test-latest-deps:
uses: ./.github/workflows/reusable-test-latest-deps.yml
secrets:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
GE_CACHE_USERNAME: ${{ secrets.GE_CACHE_USERNAME }}
GE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }}
muzzle:
uses: ./.github/workflows/reusable-muzzle.yml
shell-script-check:
uses: ./.github/workflows/reusable-shell-script-check.yml
markdown-link-check:
uses: ./.github/workflows/reusable-markdown-link-check.yml
misspell-check:
uses: ./.github/workflows/reusable-misspell-check.yml
open-issue-on-failure:
needs:
- common
- test-latest-deps
- muzzle
- markdown-link-check
- misspell-check
if: failure() && github.run_attempt == 1
uses: ./.github/workflows/reusable-open-issue-on-failure.yml