浏览代码

update github actions

(avoid deprecation warnings)
Thomas Waldmann 1 年之前
父节点
当前提交
d893b899fc
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      .github/workflows/black.yaml
  2. 3 3
      .github/workflows/ci.yml

+ 1 - 1
.github/workflows/black.yaml

@@ -9,7 +9,7 @@ jobs:
   lint:
     runs-on: ubuntu-22.04
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
       - uses: psf/black@stable
         with:
             version: "~= 23.0"

+ 3 - 3
.github/workflows/ci.yml

@@ -78,11 +78,11 @@ jobs:
         # just fetching 1 commit is not enough for setuptools-scm, so we fetch all
         fetch-depth: 0
     - name: Set up Python ${{ matrix.python-version }}
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: ${{ matrix.python-version }}
     - name: Cache pip
-      uses: actions/cache@v3
+      uses: actions/cache@v4
       with:
         path: ~/.cache/pip
         key: ${{ runner.os }}-pip-${{ hashFiles('requirements.d/development.txt') }}
@@ -114,7 +114,7 @@ jobs:
         #sudo -E bash -c "tox -e py"
         tox --skip-missing-interpreters
     - name: Upload coverage to Codecov
-      uses: codecov/codecov-action@v3
+      uses: codecov/codecov-action@v4
       env:
         OS: ${{ runner.os }}
         python: ${{ matrix.python-version }}