Skip to content

Commit

Permalink
PM-1764 - Add daily Seed Synchronisation Check
Browse files Browse the repository at this point in the history
  • Loading branch information
kaozenn committed Jun 13, 2024
1 parent 38dee22 commit 65d56fe
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/sync-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Daily Seed Synchronization Check
on:
push:
branches: [PM-1764-create-daily-seed-synchronisation-check]
jobs:
parse-seeds:
runs-on: minafoundation-xlarge-runners
steps:
- name: 📥 Checkout
uses: actions/[email protected]
- name: Parse Mainnet Seed List
run: |
echo "Parsing Mainnet Seed List"
seeds=$(cat networks/mainnet.txt | jq -R -s -c 'split("\n") | map(select(. != ""))')
echo "seeds=$seeds" >> $GITHUB_OUTPUT
check-synchronization:
needs: parse-seeds
runs-on: minafoundation-xlarge-runners
strategy:
matrix:
seed: ${{ fromJson(needs.parse-seeds.outputs.seeds) }}
steps:
- name: Echo the line
run: echo "${{ matrix.seed }}"
shell: bash

0 comments on commit 65d56fe

Please sign in to comment.