From fecad1e23c335840aefbc39158ac0e75a89bd76f Mon Sep 17 00:00:00 2001 From: Dylann Cordel Date: Wed, 18 Sep 2024 14:13:58 +0200 Subject: [PATCH] fix github actions --- .github/workflows/main.yml | 13 ++++++++----- .github/workflows/qa.yml | 4 ++-- CHANGELOG | 17 +++++++++++++++-- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 915775c..31d5cfd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -74,9 +74,9 @@ jobs: coverage run --parallel-mode ./runtests.py mv .coverage.* .coverage.${{ matrix.coverage }} - name: Upload coverage data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: coverage-data + name: coverage-data-${{ matrix.coverage }} path: .coverage.${{ matrix.coverage }} include-hidden-files: true if-no-files-found: error @@ -112,9 +112,9 @@ jobs: mypy -p wagtail_parler - name: Download coverage data - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: coverage-data + pattern: coverage-data-* # - name: Check files # run: | @@ -122,13 +122,16 @@ jobs: - name: Save PR number and combine coverage data run: | + mv coverage-data-*/.coverage* ./ + rm -rf coverage-data-* mkdir -p ./pr coverage combine coverage report -m --format="markdown" > ./pr/coverage.md coverage report --format="total" > ./pr/coverage_total + cat ./pr/coverage_total echo ${{ github.event.number }} > ./pr/NR - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: pr path: pr/ diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 5401901..9db125c 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -14,7 +14,7 @@ jobs: github.event.workflow_run.conclusion == 'success' steps: - name: 'Download artifact' - uses: actions/github-script@v3.1.0 + uses: actions/github-script@v7 with: script: | var artifacts = await github.actions.listWorkflowRunArtifacts({ @@ -36,7 +36,7 @@ jobs: - run: unzip pr.zip - name: 'Comment on PR v1' - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/CHANGELOG b/CHANGELOG index 32403e3..166ffed 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,19 @@ -# 0.2.0 - 2024-09-18 +# 0.2.4 - 2024-09-18 -* add supports of `TitleFieldPanel.targets` to autocomplete unstranslated or translated fields +* fix github actions pour qa control + + +# 0.2.3 - 2024-09-18 + +* add supports of `TitleFieldPanel.targets` to autocomplete untranslated or translated fields + +# 0.2.2 - 2024-09-05 + +* github / tox / black / pip release fix + +# 0.2.1 - 2024-09-05 + +* github / tox / black / pip release fix # 0.2.0 - 2024-09-04