From f92df8e1a86dd64ecfdc87f678247297cc1ac1cc Mon Sep 17 00:00:00 2001 From: zrr1999 <2742392377@qq.com> Date: Tue, 9 Apr 2024 16:19:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20ci:=20fix=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/codestyle.yml | 5 +++++ .github/workflows/publish.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index 19be05b..df1df68 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -18,5 +18,10 @@ jobs: with: python-version: "3.12" + - name: Install dependencies 📦 + run: | + pip install -e .[all] + pip install pytest + - name: Run pre-commit ✅ uses: pre-commit/action@v3.0.0 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6b357e7..9b9e229 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,7 +54,7 @@ jobs: packages-dir: dist verbose: true - name: Publish GitHub Release 📝 - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: "PyFuture Release ${{ github.ref_name }}" token: ${{ secrets.RELEASE_TOKEN }}