diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index d556c72..600e8b8 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -11,6 +11,6 @@ on: - develop jobs: call-changelog-check-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.8.2 secrets: USER_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/create-jira-issue.yml b/.github/workflows/create-jira-issue.yml index a2ee3bb..3615af1 100644 --- a/.github/workflows/create-jira-issue.yml +++ b/.github/workflows/create-jira-issue.yml @@ -6,7 +6,7 @@ on: jobs: call-create-jira-issue-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-create-jira-issue.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-create-jira-issue.yml@v0.8.2 secrets: JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} diff --git a/.github/workflows/labeled-pr.yml b/.github/workflows/labeled-pr.yml index c00df63..ee8a5f5 100644 --- a/.github/workflows/labeled-pr.yml +++ b/.github/workflows/labeled-pr.yml @@ -12,4 +12,4 @@ on: jobs: call-labeled-pr-check-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.8.2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6d7335..d5997a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: call-release-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.8.2 with: release_prefix: Actions secrets: diff --git a/.github/workflows/reusable-bump-version.yml b/.github/workflows/reusable-bump-version.yml index 580d933..cf883e3 100644 --- a/.github/workflows/reusable-bump-version.yml +++ b/.github/workflows/reusable-bump-version.yml @@ -17,7 +17,7 @@ jobs: bump-version: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.USER_TOKEN }} diff --git a/.github/workflows/reusable-changelog-check.yml b/.github/workflows/reusable-changelog-check.yml index e3dfdda..6ee0eaa 100644 --- a/.github/workflows/reusable-changelog-check.yml +++ b/.github/workflows/reusable-changelog-check.yml @@ -5,10 +5,10 @@ on: required: true jobs: - changelog-udated: + changelog-updated: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Changelog check uses: Zomzog/changelog-checker@v1.3.0 diff --git a/.github/workflows/reusable-docker-ecr.yml b/.github/workflows/reusable-docker-ecr.yml index e7c2c0c..9a09493 100644 --- a/.github/workflows/reusable-docker-ecr.yml +++ b/.github/workflows/reusable-docker-ecr.yml @@ -29,7 +29,7 @@ jobs: dockerize: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -38,9 +38,9 @@ jobs: echo "CI_JOB_TIMESTAMP=$(date --utc --rfc-3339=seconds)" >> $GITHUB_ENV - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - - uses: aws-actions/configure-aws-credentials@v2 + - uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -54,7 +54,7 @@ jobs: echo "REPO=${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV} - name: Build, tag, and push image to Amazon ECR - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: true diff --git a/.github/workflows/reusable-docker-ghcr.yml b/.github/workflows/reusable-docker-ghcr.yml index 2f75fb4..433fd9b 100644 --- a/.github/workflows/reusable-docker-ghcr.yml +++ b/.github/workflows/reusable-docker-ghcr.yml @@ -24,7 +24,7 @@ jobs: dockerize: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -33,10 +33,10 @@ jobs: echo "CI_JOB_TIMESTAMP=$(date --utc --rfc-3339=seconds)" >> $GITHUB_ENV - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ inputs.user }} @@ -47,7 +47,7 @@ jobs: echo "REPO=${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV} - name: Build, tag, and push image to GitHub Container Registry - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: ${{ ! github.event.pull_request.head.repo.fork }} diff --git a/.github/workflows/reusable-flake8.yml b/.github/workflows/reusable-flake8.yml index 8212ce9..a53f220 100644 --- a/.github/workflows/reusable-flake8.yml +++ b/.github/workflows/reusable-flake8.yml @@ -13,7 +13,7 @@ jobs: flake8: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: diff --git a/.github/workflows/reusable-git-object-name.yml b/.github/workflows/reusable-git-object-name.yml index 6b637f5..3a2f247 100644 --- a/.github/workflows/reusable-git-object-name.yml +++ b/.github/workflows/reusable-git-object-name.yml @@ -11,7 +11,7 @@ jobs: outputs: name: ${{ steps.set_outputs.outputs.name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/reusable-labeled-pr-check.yml b/.github/workflows/reusable-labeled-pr-check.yml index 3d5d16c..445e116 100644 --- a/.github/workflows/reusable-labeled-pr-check.yml +++ b/.github/workflows/reusable-labeled-pr-check.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Require Version Bump Labels - uses: mheap/github-action-required-labels@v4 + uses: mheap/github-action-required-labels@v5 with: mode: exactly count: 1 diff --git a/.github/workflows/reusable-pytest.yml b/.github/workflows/reusable-pytest.yml index 4c0a48e..9068730 100644 --- a/.github/workflows/reusable-pytest.yml +++ b/.github/workflows/reusable-pytest.yml @@ -7,7 +7,7 @@ on: python_versions: required: false default: >- - ["3.8", "3.9", "3.10"] + ["3.9", "3.10", "3.11", "3.12"] description: JSON string containing the list of python versions to test type: string fail_fast: @@ -26,7 +26,7 @@ jobs: python_version: ${{ fromJson(inputs.python_versions) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: mamba-org/setup-micromamba@v1 with: diff --git a/.github/workflows/reusable-release-checklist-comment.yml b/.github/workflows/reusable-release-checklist-comment.yml index 187117f..8a53ff8 100644 --- a/.github/workflows/reusable-release-checklist-comment.yml +++ b/.github/workflows/reusable-release-checklist-comment.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest name: Add a comment with the release checklist steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Comment PR uses: thollander/actions-comment-pull-request@v2 diff --git a/.github/workflows/reusable-release.yml b/.github/workflows/reusable-release.yml index fde4601..c0c0625 100644 --- a/.github/workflows/reusable-release.yml +++ b/.github/workflows/reusable-release.yml @@ -24,7 +24,7 @@ jobs: write-release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.USER_TOKEN }} diff --git a/.github/workflows/reusable-secrets-analysis.yml b/.github/workflows/reusable-secrets-analysis.yml index 14b189d..613ac79 100644 --- a/.github/workflows/reusable-secrets-analysis.yml +++ b/.github/workflows/reusable-secrets-analysis.yml @@ -5,7 +5,7 @@ jobs: trufflehog: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/reusable-version-info.yml b/.github/workflows/reusable-version-info.yml index b7ed043..a9e973e 100644 --- a/.github/workflows/reusable-version-info.yml +++ b/.github/workflows/reusable-version-info.yml @@ -19,7 +19,7 @@ jobs: version: ${{ steps.set_outputs.outputs.version }} version_tag: ${{ steps.set_outputs.outputs.version_tag }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 1b7dc4d..209c902 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -4,4 +4,4 @@ on: push jobs: call-secrets-analysis-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.8.2 diff --git a/.github/workflows/tag-version.yml b/.github/workflows/tag-version.yml index af28182..5053fe6 100644 --- a/.github/workflows/tag-version.yml +++ b/.github/workflows/tag-version.yml @@ -7,6 +7,6 @@ on: jobs: call-bump-version-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.8.2 secrets: USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 06f6cac..f3b787d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/) and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.8.3] + +### Added +- `reusable-pytest` now tests Python 3.9--3.12 by default. + ## [0.8.2] ### Changed diff --git a/README.md b/README.md index 198cd78..fcc7cfe 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ on: jobs: call-bump-version-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.8.2 with: user: tools-bot # Optional; default shown email: UAF-asf-apd@alaska.edu # Optional; default shown @@ -57,7 +57,7 @@ on: jobs: call-changelog-check-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.8.2 secrets: USER_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` @@ -77,7 +77,7 @@ on: jobs: call-create-jira-issue-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-create-jira-issue.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-create-jira-issue.yml@v0.8.2 secrets: JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} @@ -130,13 +130,13 @@ on: jobs: call-version-info-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.8.2 with: conda_env_name: hyp3-plugin call-docker-ecr-workflow: needs: call-version-info-workflow - uses: ASFHyP3/actions/.github/workflows/reusable-docker-ecr.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-docker-ecr.yml@v0.8.2 with: version_tag: ${{ needs.call-version-info-workflow.outputs.version_tag }} ecr_registry: 845172464411.dkr.ecr.us-west-2.amazonaws.com @@ -171,13 +171,13 @@ on: jobs: call-version-info-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.8.2 with: conda_env_name: hyp3-plugin call-docker-ghcr-workflow: needs: call-version-info-workflow - uses: ASFHyP3/actions/.github/workflows/reusable-docker-ghcr.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-docker-ghcr.yml@v0.8.2 with: version_tag: ${{ needs.call-version-info-workflow.outputs.version_tag }} user: ${{ github.actor }} @@ -198,7 +198,7 @@ on: push jobs: call-flake8-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-flake8.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-flake8.yml@v0.8.2 with: local_package_names: hyp3_plugin # Required; comma-seperated list of names that should be considered local to your application excludes: hyp3_plugin/ugly.py # Optional; comma-separated list of glob patterns to exclude from checks @@ -226,7 +226,7 @@ on: jobs: call-git-object-name-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-git-object-name.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-git-object-name.yml@v0.8.2 echo-git-object-name-outputs: needs: call-git-object-name-workflow @@ -256,7 +256,7 @@ on: jobs: call-labeled-pr-check-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.8.2 ``` to ensure a release label is included on any PR to `main`. @@ -280,12 +280,12 @@ on: jobs: call-pytest-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-pytest.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-pytest.yml@v0.8.2 with: local_package_name: hyp3_plugin # Required; package to produce a coverage report for fail_fast: false # Optional; default shown python_versions: >- # Optional; default shown - ["3.8", "3.9", "3.10"] + ["3.9", "3.10", "3.11", "3.12"] ``` to test your Python package and produce a coverage report for. Importantly, `python_versions` *must* be a valid JSON string @@ -309,7 +309,7 @@ on: jobs: call-release-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.8.2 with: release_prefix: HyP3-CI release_branch: main # Optional; default shown @@ -338,7 +338,7 @@ on: jobs: call-release-checklist-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-release-checklist-comment.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-release-checklist-comment.yml@v0.8.2 permissions: pull-requests: write with: @@ -367,7 +367,7 @@ on: push jobs: call-secrets-analysis-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.8.2 ``` to scan every push for secrets. @@ -393,7 +393,7 @@ on: jobs: call-version-info-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.8.1 + uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.8.2 with: python_version: '3.9' # Optional; default shown