浏览代码

update github actions

Daniel Gatis 1 年之前
父节点
当前提交
0b1b71d59c
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      .github/workflows/lint_python.yml
  2. 1 1
      .github/workflows/publish_pypi.yml
  3. 1 1
      .github/workflows/test_install.yml

+ 1 - 1
.github/workflows/lint_python.yml

@@ -9,7 +9,7 @@ jobs:
             - uses: actions/checkout@v3
             - uses: actions/setup-python@v4
               with:
-                python-version: 3.11
+                python-version: 3.12
             - name: Install dependencies
               run: pip install .[cli,dev]
             - run: mypy --install-types --non-interactive --ignore-missing-imports ./rembg

+ 1 - 1
.github/workflows/publish_pypi.yml

@@ -12,7 +12,7 @@ jobs:
             - uses: actions/checkout@v3
             - uses: actions/setup-python@v4
               with:
-                python-version: 3.11
+                python-version: 3.12
             - name: Install dependencies
               run: pip install .[cli,dev]
             - name: Builds and uploads to PyPI

+ 1 - 1
.github/workflows/test_install.yml

@@ -7,7 +7,7 @@ jobs:
         runs-on: ubuntu-latest
         strategy:
             matrix:
-                python-version: ["3.8", "3.9", "3.10", "3.11"]
+                python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
 
         steps:
             - uses: actions/checkout@v3