]> git.phdru.name Git - ppu.git/blobdiff - .github/workflows/run-tests.yaml
Build(GHActions): Use `checkout@v4` instead of outdated `v2`
[ppu.git] / .github / workflows / run-tests.yaml
index 61d2d6fcc0dff0b4461bfe8998f9fb72acaac613..4244526b1b397a32728093e5c0fe58143363c373 100644 (file)
@@ -10,7 +10,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest, windows-latest]
-        python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.7"]
+        python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.7"]
         include:
         - os: ubuntu-latest
           os-name: Linux
@@ -25,7 +25,7 @@ jobs:
     steps:
 
       # Setup Python/pip
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v4
       - uses: s-weigand/setup-conda@v1
         with:
           conda-channels: conda-forge
@@ -45,7 +45,7 @@ jobs:
       - name: Install dependencies
         run: |
           python --version
-          python -m ensurepip
+          python -m pip || python -m ensurepip --default-pip --upgrade
           python -m pip install --upgrade pip setuptools wheel
           pip --version
           pip install --upgrade virtualenv "tox >= 3.15, < 4"