From 046998fe65b8c9625c8183351bf02029794fce1f Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Mon, 17 Jul 2023 23:13:56 +0200 Subject: [PATCH] CI: simplify conditional. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 771acc7..c53ac15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - python: '3.12-dev' os: ubuntu-22.04 runs-on: ${{matrix.os || 'ubuntu-latest'}} - container: ${{ (startsWith(matrix.python, '2.') && 'python:2.7') || null }} + container: ${{ (matrix.python == '2.7') && 'python:2.7') || null }} defaults: run: shell: bash