-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (38 loc) · 1.29 KB
/
flat_24h.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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