Skip to content

Commit

Permalink
fix(ci): use string version numbers
Browse files Browse the repository at this point in the history
Because python 3.10 is not python 3.1
  • Loading branch information
maximerety committed Jun 21, 2022
1 parent 65f7bba commit 28fecd2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: '3.8'
- name: Install and configure poetry
run: python -m pip install poetry
- name: Install python packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: install
on:
schedule:
- cron: '0 1 * * *'
- cron: '0 1 * * *'

jobs:
install:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, 3.10]
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
python-version: ['3.7']
steps:
- uses: actions/checkout@v1

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/safety.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: safety
on:
schedule:
- cron: '0 1 * * *'
- cron: '0 1 * * *'

jobs:
safety:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7]
python-version: ['3.7']
steps:
- uses: actions/checkout@v1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v1

Expand Down

0 comments on commit 28fecd2

Please sign in to comment.