From c1278318cd3280133cf36b7ce5afceeef474030e Mon Sep 17 00:00:00 2001 From: Ian Thomas Date: Wed, 20 Sep 2023 13:59:04 +0100 Subject: [PATCH] Remove CI warnings (#37) --- .github/workflows/pre-commit.yml | 8 +++++--- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 7233479..12043bb 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -9,6 +9,8 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - uses: pre-commit/action@v2.0.0 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: '3.11' + - uses: pre-commit/action@v3.0.0 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2642f1d..4688c85 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@master - - uses: actions/setup-python@v1 + - uses: actions/setup-python@v4 with: python-version: '3.8' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8d1022c..8f1ab60 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,9 +22,9 @@ jobs: pyv: ["3.7", "3.8", "3.9", "3.10", "3.11.0-rc - 3.11"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.pyv }}