Fix Forgejo Actions on ARM64 and amd64 runners #2

Open
denkz0ne wants to merge 6 commits from fix/forgejo-actions-arm64 into main
Owner

Changes

  • Install CPython 3.12 through uv so tests and Ruff run on the ARM64 runner; align pytest-asyncio with the Home Assistant test dependency.
  • Run Hassfest and HACS on the repo-scoped amd64 runner with isolated Docker-in-Docker and pinned upstream container images.
  • Remove the obsolete v0.6.0-only publishing workflow.

Verification

Forgejo Actions run #51 passed:

  • 93 pytest tests
  • Ruff
  • Home Assistant Hassfest
  • HACS validation (10 checks)

The HACS action reads the public GitHub repository because HACS uses GitHub APIs. It uses anonymous read access since Forgejo's built-in token is not a GitHub API token; this validates the currently public GitHub main, not a divergent Forgejo branch.

The published Forgejo v0.7.0 release and tag remain unchanged.

## Changes - Install CPython 3.12 through uv so tests and Ruff run on the ARM64 runner; align pytest-asyncio with the Home Assistant test dependency. - Run Hassfest and HACS on the repo-scoped amd64 runner with isolated Docker-in-Docker and pinned upstream container images. - Remove the obsolete v0.6.0-only publishing workflow. ## Verification Forgejo Actions run [#51](https://git.denkz.art/denkz0ne/blockfront_ha_integration/actions/runs/51) passed: - 93 pytest tests - Ruff - Home Assistant Hassfest - HACS validation (10 checks) The HACS action reads the public GitHub repository because HACS uses GitHub APIs. It uses anonymous read access since Forgejo's built-in token is not a GitHub API token; this validates the currently public GitHub `main`, not a divergent Forgejo branch. The published Forgejo v0.7.0 release and tag remain unchanged.
Fix Forgejo Actions runner compatibility
Some checks failed
Validate / Tests and lint (push) Has been cancelled
Validate / Home Assistant validation (push) Has been cancelled
Validate / HACS validation (push) Has been cancelled
16aec471b2
Remove obsolete v0.6.0 release workflow
Some checks failed
Validate / Tests and lint (push) Failing after 28s
Validate / Tests and lint (pull_request) Failing after 16s
Validate / Home Assistant validation (push) Has been cancelled
Validate / HACS validation (push) Has been cancelled
Validate / Home Assistant validation (pull_request) Has been cancelled
Validate / HACS validation (pull_request) Has been cancelled
6148ebf125
Align pytest-asyncio with Home Assistant test requirements
Some checks failed
Validate / Home Assistant validation (push) Failing after 56s
Validate / Tests and lint (push) Successful in 1m54s
Validate / HACS validation (push) Failing after 52s
Validate / Home Assistant validation (pull_request) Failing after 20s
Validate / HACS validation (pull_request) Failing after 2s
Validate / Tests and lint (pull_request) Has been cancelled
38b502bc62
Run Hassfest with isolated workspace volume
Some checks failed
Validate / Tests and lint (push) Has been cancelled
Validate / Home Assistant validation (push) Has been cancelled
Validate / HACS validation (push) Has been cancelled
Validate / Tests and lint (pull_request) Has been cancelled
Validate / Home Assistant validation (pull_request) Has been cancelled
Validate / HACS validation (pull_request) Has been cancelled
b2c9add707
Fix Hassfest workspace volume discovery
Some checks failed
Validate / Home Assistant validation (push) Failing after 19s
Validate / HACS validation (push) Failing after 10s
Validate / Home Assistant validation (pull_request) Failing after 19s
Validate / HACS validation (pull_request) Failing after 10s
Validate / Tests and lint (push) Successful in 2m1s
Validate / Tests and lint (pull_request) Successful in 1m48s
2b92a0e226
Run Forgejo-compatible Hassfest and HACS validators
All checks were successful
Validate / Home Assistant validation (push) Successful in 25s
Validate / HACS validation (push) Successful in 31s
Validate / Home Assistant validation (pull_request) Successful in 26s
Validate / Tests and lint (push) Successful in 1m52s
Validate / HACS validation (pull_request) Successful in 30s
Validate / Tests and lint (pull_request) Successful in 1m45s
0900691cee
All checks were successful
Validate / Home Assistant validation (push) Successful in 25s
Validate / HACS validation (push) Successful in 31s
Validate / Home Assistant validation (pull_request) Successful in 26s
Validate / Tests and lint (push) Successful in 1m52s
Validate / HACS validation (pull_request) Successful in 30s
Validate / Tests and lint (pull_request) Successful in 1m45s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin "fix/forgejo-actions-arm64:fix/forgejo-actions-arm64"
git switch "fix/forgejo-actions-arm64"

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch "main"
git merge --no-ff "fix/forgejo-actions-arm64"
git switch "fix/forgejo-actions-arm64"
git rebase "main"
git switch "main"
git merge --ff-only "fix/forgejo-actions-arm64"
git switch "fix/forgejo-actions-arm64"
git rebase "main"
git switch "main"
git merge --no-ff "fix/forgejo-actions-arm64"
git switch "main"
git merge --squash "fix/forgejo-actions-arm64"
git switch "main"
git merge --ff-only "fix/forgejo-actions-arm64"
git switch "main"
git merge "fix/forgejo-actions-arm64"
git push origin "main"
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
denkz0ne/blockfront_ha_integration!2
No description provided.