From 9e0950eb070e360da1c28c99eaabe5dce79e5f8b Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Wed, 30 Aug 2023 17:50:53 +0100
Subject: [PATCH] Update versions in github actions file
---
.github/workflows/ci.yml | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0437a577..2815c62e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,9 +13,11 @@ jobs:
name: Format
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
- - uses: actions/setup-python@v2
- - uses: pre-commit/action@v2.0.0
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
+ with:
+ python-version: "3.10"
+ - uses: pre-commit/action@v3.0.0
with:
extra_args: --hook-stage manual --all-files
@@ -29,9 +31,9 @@ jobs:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- - uses: actions/setup-python@v2
+ - uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
@@ -123,12 +125,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v3
- name: Build sdist and wheel
run: pipx run --spec build pyproject-build
- - uses: actions/upload-artifact@v2
+ - uses: actions/upload-artifact@v3
with:
path: dist