浏览代码

Update Github actions

Thomas Kluyver 1 年之前
父节点
当前提交
084657067d
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      .github/workflows/test.yml

+ 4 - 4
.github/workflows/test.yml

@@ -9,20 +9,20 @@ jobs:
       matrix:
         python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v4
 
       - name: Setup Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v2
+        uses: actions/setup-python@v5
         with:
           python-version: ${{ matrix.python-version }}
 
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip
-          pip install tox tox-gh-actions codecov
+          pip install tox tox-gh-actions
 
       - name: Run tests
         run: tox -- -v
 
       - name: Codecov upload
-        run: codecov
+        uses: codecov/codecov-action@v3