version bump #235
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: tests | |
on: [push, pull_request] | |
jobs: | |
black: | |
name: Style Reformatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-python@v1 | |
with: | |
python_version: "3.8" | |
- run: "python -m pip install black isort autoflake" | |
name: Install requirements | |
- run: "make reformat" | |
continue-on-error: true | |
name: Style reformatting | |
- name: Commit changes | |
continue-on-error: true | |
run: | | |
git config --local committer.email "[email protected]" | |
git config --local committer.name "GitHub" | |
git config --local author.email "${{ github.actor }}@users.noreply.github.com" | |
git config --local author.name "{{ github.actor }}" | |
git add -A | |
git commit -m "You messed up the style buddy. Lemme fix it for you" | |
git push "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" HEAD:${GITHUB_REF#refs/heads/} |