Skip to content

Commit

Permalink
GitHub Actions: Upgrade actions/checkout and actions/setup-python (#252)
Browse files Browse the repository at this point in the history
GitHub Actions: Upgrade actions/checkout and actions/setup-python
  • Loading branch information
cclauss committed May 15, 2021
1 parent 5ee11ac commit 2c62d6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
Expand All @@ -15,8 +15,11 @@ jobs:
pip install -r requirements.txt -r requirements-dev.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
# stop the build if there are Python syntax errors or undefined names in the entire repo
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# stricter tests for mission critical code
flake8 --count pgzero pgzrun.py test
- name: Install xvfb
run: |
sudo apt-get install xvfb
Expand Down
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pygame; python_version < '3.8'
pygame==2.0.0.dev6; python_version >= '3.8'
numpy
pyfxr>=0.3.0
pygame
pyfxr>=0.3.0

0 comments on commit 2c62d6b

Please sign in to comment.