From 5ac223dd87e6d28611c3a90224df2bc0b9304e90 Mon Sep 17 00:00:00 2001 From: Jason Kai Date: Tue, 24 Oct 2023 14:37:21 -0400 Subject: [PATCH] Update actions workflows to v0.3.1 Fixes bugs for release workflow, as well as a number of composite actions. --- .github/workflows/assign_reviewers.yml | 2 +- .github/workflows/bump_version.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- .github/workflows/test.yml | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/assign_reviewers.yml b/.github/workflows/assign_reviewers.yml index b2a9b16e..6ccad8b2 100644 --- a/.github/workflows/assign_reviewers.yml +++ b/.github/workflows/assign_reviewers.yml @@ -5,4 +5,4 @@ on: types: [opened, ready_for_review] jobs: assign-reviewer: - uses: khanlab/actions/.github/workflows/workflow-pr_task-assignReviewer.yml@v0.2.1 + uses: khanlab/actions/.github/workflows/workflow-pr_task-assignReviewer.yml@v0.3.1 diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index 4e30199e..84682ca5 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -6,6 +6,6 @@ on: jobs: bump-version: if: github.event.pull_request.merged == true - uses: khanlab/actions/.github/workflows/workflow-version_task-semverGithub.yml@v0.2.1 + uses: khanlab/actions/.github/workflows/workflow-version_task-semverGithub.yml@v0.3.1 secrets: - BP-PAT: ${{ secrets.BP_PAT_TOKEN }} + BP_PAT: ${{ secrets.BP_PAT_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d5d3312..9b00c949 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,12 +8,12 @@ on: required: false jobs: release-package: - uses: khanlab/actions/.github/workflows/workflow-release_task-publishGithub.yml@v0.2.1 + uses: khanlab/actions/.github/workflows/workflow-release_task-publishGithub.yml@v0.3.1 with: comments: ${{ github.event.inputs.comments }} secrets: - BP-PAT: ${{ secrets.BP_PAT_TOKEN }} + BP_PAT: ${{ secrets.BP_PAT_TOKEN }} deploy-pypi: - uses: khanlab/actions/.github/workflows/workflow-release_task-deployPypi.yml@v0.2.1 + uses: khanlab/actions/.github/workflows/workflow-release_task-deployPypi.yml@v0.3.1 secrets: PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 430761f0..728ef38c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Python environment - uses: khanlab/actions/.github/actions/action-setup_task-installPyProject@v0.2.1 + uses: khanlab/actions/.github/actions/action-setup_task-installPyProject@v0.3.1 with: python-version: "3.10" - name: yamlfix @@ -34,10 +34,10 @@ jobs: test-split: ["1", "2", "3", "4", "5"] steps: - name: Setup Python environment - uses: khanlab/actions/.github/actions/action-setup_task-installPyProject@v0.2.1 + uses: khanlab/actions/.github/actions/action-setup_task-installPyProject@v0.3.1 with: python-version: ${{ matrix.python-version }} - install-library: true + install-library: "true" - name: Perform unit testing run: >- poetry run pytest -n auto --splits 5 --group ${{ matrix.test-split }} --doctest-modules --cov=afids_utils