Skip to content

Commit

Permalink
Fix Python version (3rd try)
Browse files Browse the repository at this point in the history
  • Loading branch information
donjuardo committed Jul 10, 2024
1 parent 3c53300 commit 6f393ef
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pep8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: pep8
on: [pull_request, push]
env:
PYTHON_VERSION: "3.12.4"
PYTHON_VERSION: 3.12.4
jobs:
flake8:
runs-on: ubuntu-latest
Expand All @@ -12,12 +12,11 @@ jobs:
- run: echo "⬇️ Cloning ${{ github.repository }}:${{ github.ref_name }}…"
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "🐍 Setting up Python $PYTHON_VERSION…"
- run: echo "$PYTHON_VERSION"
- run: echo "🐍 Setting up Python $env.PYTHON_VERSION…"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "$PYTHON_VERSION"
python-version: "$env.PYTHON_VERSION"
- run: echo "🔎 Linting Python code against PEP 8…"
- name: Lint Python code against PEP 8
uses: py-actions/flake8@v2
Expand Down

0 comments on commit 6f393ef

Please sign in to comment.