ovbot #265
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: ovbot | |
on: | |
push: | |
branches: [ master ] | |
schedule: | |
- cron: '1 1 * * 0' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: 'master' | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Fetch files | |
run: | | |
sudo apt-get -q update | |
sudo apt-get install dos2unix | |
sudo apt-get install python2 | |
pip install -r CI/requirements.txt | |
pip install --upgrade pip six autopep8 future 2to3 | |
./CI/build.sh | |
env: | |
TIMEZONESDB_API: ${{ secrets.TIMEZONESDB_API }} |