refactor: remove dangling returns and early-return some functions #1529
Workflow file for this run
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: Run bot | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- 'l10n_*' | |
- 'dependabot/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up configuration | |
run: | | |
curl https://pastebin.com/raw/iu4nu94C -o config.py | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip wheel | |
pip install -e . | |
- name: Start the bot | |
run: | | |
python -m eduu test |