Skip to content

data-24hr

data-24hr #764

Workflow file for this run

name: data-24hr
on:
schedule:
- cron: 0 0 * * *
workflow_dispatch: {}
push:
paths:
- .github/workflows/flat_24h.yml
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- name: Setup deno
uses: denoland/setup-deno@main
with:
deno-version: v1.x
- name: Check out repo
uses: actions/checkout@v3
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://rest.bd.evmos.org:1317/cosmos/gov/v1beta1/proposals?proposal_status=0&pagination.limit=500
downloaded_filename: evmos-proposals-all.json
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://rest.bd.evmos.org:1317/cosmos/staking/v1beta1/validators?pagination.limit=500
downloaded_filename: evmos-validators-all.json
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://rest.bd.evmos.org:1317/cosmos/bank/v1beta1/denoms_metadata?pagination.limit=500
downloaded_filename: evmos-denoms-all.json
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://rest.bd.evmos.org:1317/evmos/inflation/v1/epoch_mint_provision?pagination.limit=500
downloaded_filename: evmos-epoch-mint-provisions.json