-
Notifications
You must be signed in to change notification settings - Fork 27
42 lines (39 loc) · 1.2 KB
/
poke_injectors.yaml
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
39
40
41
42
name: Poke Onchain Rewards Injectors
on:
workflow_dispatch:
schedule:
- cron: "0/5 * * * *"
env:
KEYWORDS: ${{ secrets.KEEPER_PRIVATE_WORDS }}
WEB3_INFURA_PROJECT_ID: ${{ secrets.WEB3_INFURA_PROJECT_ID }}
ETHERSCAN_TOKEN: ${{ secrets.ETHERSCAN_TOKEN }}
ARBISCAN_TOKEN: ${{ secrets.ARBISCAN_TOKEN }}
GNOSISSCAN_TOKEN: ${{ secrets.GNOSISSCAN_TOKEN }}
POLYGONSCAN_TOKEN: ${{ secrets.POLYGONSCAN_TOKEN }}
OPTIMISMSCAN_TOKEN: ${{ secrets.OPTIMISMSCAN_TOKEN }}
ZKEVMSCAN_TOKEN: ${{ secrets.ZKEVMSCAN_TOKEN }}
SNOWTRACE_TOKEN: ${{ secrets.SNOWTRACE_TOKEN }}
BASESCAN_TOKEN: ${{ secrets.BASESCAN_TOKEN }}
jobs:
poke_injectors:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Compiler Installations
uses: actions/cache@v4
with:
path: |
~/.solcx
~/.vvm
key: compiler-cache
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Poke'em
run: |
cd action-scripts/brownie
pip3 install -r requirements-actions.txt
touch .env
brownie run scripts/pokeInjectors.py