From d945008536ad368a63f6b360fa615daa44a77f01 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Sat, 28 Dec 2024 16:32:50 +0200 Subject: [PATCH 1/2] CI: update python versions for lint.yml Python 3.8 is not available on ubuntu-latest images anymore. --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ded906e6..8ffd91ac 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9] + python-version: ["3.10", "3.11"] steps: - uses: actions/checkout@v1 From 4ac502eb2eef4d535912087985b3df75ea8d1f27 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Sun, 29 Dec 2024 14:59:18 +0200 Subject: [PATCH 2/2] CI: bump actions/{checkout,setup-python} versions, simplify --- .github/workflows/lint.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8ffd91ac..5e8f375a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,15 +6,11 @@ jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.10", "3.11"] - steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: "3.10" - name: Run pre-commit hook uses: pre-commit/action@v2.0.3