From 28fecd258ab159b23e8eee8c156ca493f6259687 Mon Sep 17 00:00:00 2001 From: maximerety Date: Tue, 21 Jun 2022 09:29:36 +0200 Subject: [PATCH] fix(ci): use string version numbers Because python 3.10 is not python 3.1 --- .github/workflows/deploy.yml | 2 +- .github/workflows/install.yml | 4 ++-- .github/workflows/linters.yml | 2 +- .github/workflows/safety.yml | 4 ++-- .github/workflows/tests.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 078c7cf..967aba7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index b603843..9a70f45 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -1,7 +1,7 @@ name: install on: schedule: - - cron: '0 1 * * *' + - cron: '0 1 * * *' jobs: install: @@ -9,7 +9,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: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index ff07755..64d7ea1 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7] + python-version: ['3.7'] steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/safety.yml b/.github/workflows/safety.yml index 6ffcb8d..1bbcdaf 100644 --- a/.github/workflows/safety.yml +++ b/.github/workflows/safety.yml @@ -1,7 +1,7 @@ name: safety on: schedule: - - cron: '0 1 * * *' + - cron: '0 1 * * *' jobs: safety: @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7] + python-version: ['3.7'] steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 452c36c..3e77fbd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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