Fix CI pythoon version
@@ -20,8 +20,9 @@ jobs:
os: ["ubuntu-latest", ]
steps:
- uses: actions/checkout@v2
+ - uses: actions/setup-python@v4
with:
- python-version: 3.9
+ python-version: '3.9'
- name: Get current year-month
id: date
run: echo "date=$(date +'%Y-%m')" >> $GITHUB_OUTPUT
@@ -30,6 +31,9 @@ jobs:
with:
path: ~/test_env
key: ${{ runner.os }}-venv-${{ hashFiles('**/pyproject.toml') }}-${{ steps.date.outputs.date }}
+ - name: Python version
+ run: |
+ python --version
- name: Install dependencies
run: |
sudo apt update
