fullnode-intelligent-testnet-main #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow runs a public fullnode using the `main` branch, | |
# connects the public fullnode to `testnet` and synchronizes the | |
# node using execution or output syncing to verify that nothing | |
# has been broken. | |
name: "fullnode-intelligent-testnet-main" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "30 5 */3 * *" # Once every three days, at 05:30 (UTC) | |
permissions: | |
contents: read | |
id-token: write | |
actions: write #required for workflow cancellation via check-aptos-core | |
jobs: | |
check-repo: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: aptos-labs/aptos-core/.github/actions/check-aptos-core@main | |
with: | |
cancel-workflow: ${{ github.event_name == 'schedule' }} # Cancel the workflow if it is scheduled on a fork | |
fullnode-intelligent-testnet-main: | |
needs: check-repo | |
uses: ./.github/workflows/run-fullnode-sync.yaml | |
secrets: inherit | |
with: | |
TEST_NAME: fullnode-intelligent-testnet-main | |
GIT_REF: main | |
NETWORK: testnet | |
BOOTSTRAPPING_MODE: DownloadLatestStates | |
CONTINUOUS_SYNCING_MODE: ExecuteTransactionsOrApplyOutputs |