Skip to content

Commit

Permalink
Misc updates (#13)
Browse files Browse the repository at this point in the history
* fix: Update path to reusable workflow

* chore: Update re-actors/alls-green GitHub Action dependency to the newest, specific version

* chore: Update requirements
  • Loading branch information
nfelt14 authored Aug 22, 2024
1 parent 9f54da9 commit 36d3bc0
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
uses: re-actors/alls-green@v1.2.2
with:
jobs: ${{ toJSON(needs) }}
2 changes: 1 addition & 1 deletion .github/workflows/_reusable-package-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
uses: re-actors/alls-green@v1.2.2
with:
jobs: ${{ toJSON(needs) }}
2 changes: 1 addition & 1 deletion .github/workflows/_reusable-test-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
uses: re-actors/alls-green@v1.2.2
with:
jobs: ${{ toJSON(needs) }}
2 changes: 1 addition & 1 deletion .github/workflows/_reusable-test-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
uses: re-actors/alls-green@v1.2.2
with:
jobs: ${{ toJSON(needs) }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-test-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
types: [completed]
jobs:
publish-test-results:
uses: ./.github/workflows/check-api-for-breaking-changes.yml
uses: ./.github/workflows/_reusable-publish-test-results.yml
with:
operating-systems-array: '["ubuntu"]' # this needs to match the operating-systems-array in the test-code.yml file
permissions:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
run-pre-commit: true
dependency-dict: '{"dev": ["pyright"]}'
pre-commit-hook-skip-list: remove-tabs,forbid-tabs,check-readthedocs,check-dependabot,check-github-actions,check-github-workflows,commitizen,blacken-docs,yamlfix,hadolint,mdformat,markdown-link-check,check-poetry,toml-sort-fix,pyright,poetry-audit,ruff,ruff-format,docformatter
export-dependency-groups: udd:actions/update_development_dependencies,cutv:actions/create_unique_testpypi_version,fci:actions/find_unreleased_changelog_items
export-dependency-groups: udd:actions/update_development_dependencies,cutv:actions/create_unique_testpypi_version,fci:actions/find_unreleased_changelog_items,tests
# Check that all jobs passed
check-action-tests-passed:
if: ${{ !cancelled() }}
Expand All @@ -136,6 +136,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
uses: re-actors/alls-green@v1.2.2
with:
jobs: ${{ toJSON(needs) }}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
update-pre-commit: true
run-pre-commit: true
pre-commit-hook-skip-list: pyright,poetry-audit
export-dependency-groups: udd:actions/update_development_dependencies,cutv:actions/create_unique_testpypi_version,fci:actions/find_unreleased_changelog_items
export-dependency-groups: udd:actions/update_development_dependencies,cutv:actions/create_unique_testpypi_version,fci:actions/find_unreleased_changelog_items,tests
permissions:
contents: write
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ repos:
always_run: true
args: [audit, --json, --ignore-code=CVE-2019-8341]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 8b5112a3b2ad121439a2092f8ff548c0d80f2514 # frozen: v0.6.1
rev: 24d039e647a08707e6cb31e75e01844eeff925e7 # frozen: v0.6.2
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion actions/update_development_dependencies/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ distlib==0.3.8 ; python_version >= "3.12" and python_version < "3.13"
distro==1.9.0 ; python_version >= "3.12" and python_version < "3.13"
dulwich==0.21.7 ; python_version >= "3.12" and python_version < "3.13"
fastjsonschema==2.20.0 ; python_version >= "3.12" and python_version < "3.13"
filelock==3.12.4 ; python_version >= "3.12" and python_version < "3.13"
filelock==3.15.4 ; python_version >= "3.12" and python_version < "3.13"
identify==2.6.0 ; python_version >= "3.12" and python_version < "3.13"
idna==3.7 ; python_version >= "3.12" and python_version < "3.13"
installer==0.7.0 ; python_version >= "3.12" and python_version < "3.13"
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pytest-env==1.1.3 ; python_version >= "3.12" and python_version < "3.13"
pytest-github-report==0.0.1 ; python_version >= "3.12" and python_version < "3.13"
pytest-html==4.1.1 ; python_version >= "3.12" and python_version < "3.13"
pytest-metadata==3.1.1 ; python_version >= "3.12" and python_version < "3.13"
pytest-order==1.2.1 ; python_version >= "3.12" and python_version < "3.13"
pytest-order==1.3.0 ; python_version >= "3.12" and python_version < "3.13"
python-dateutil==2.9.0.post0 ; python_version >= "3.12" and python_version < "3.13"
pytz==2024.1 ; python_version >= "3.12" and python_version < "3.13"
requests==2.32.3 ; python_version >= "3.12" and python_version < "3.13"
Expand Down

0 comments on commit 36d3bc0

Please sign in to comment.