Update #1840
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
name: Update | |
on: | |
schedule: | |
- cron: "0 */4 * * *" | |
workflow_dispatch: | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
jobs: | |
update-list: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check repo | |
uses: actions/checkout@v3 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3" | |
cache: "pip" | |
- name: Install requirements | |
run: pip install -r requirements.txt | |
- name: Update token list | |
run: python3 scripts/build_list.py | |
- name: Update legacy token list | |
run: python3 scripts/build_legacy_list.py | |
- name: Update solana legacy token list | |
run: python3 scripts/build_solana_legacy_list.py | |
- name: Update from symbol token list | |
run: python3 scripts/build_from_symbol_list.py | |
- name: Commit changed file | |
uses: EndBug/add-and-commit@v7 | |
with: | |
add: "." | |
commit: --signoff | |
push: true |