build: add support for local config builds via act
This change enables local execution of the gh-action to build the keyboard firmware in a config-repo via act.
Linux example command:
act --artifact-server-path $PWD/.artifacts
macOS (M2) example command:
act --artifact-server-path $PWD/.artifacts \
--container-architecture \
linux/amd64 --container-daemon-socket -
PR check-list
- [x] Branch has a clean commit history
- [x] Additional tests are included, if changing behaviors/core code that is testable.
- [x] Proper Copyright + License headers added to applicable files (Generally, we stick to "The ZMK Contributors" for copyrights to help avoid churn when files get edited)
- [x] Pre-commit used to check formatting of files, commit messages, etc.
- [ ] Includes any necessary documentation changes.
Seems reasonable, but can you please provide a link to a user config repo run using this version of the workflow to demonstrate no impact to running in GHA? Thanks!
Sure: https://github.com/nidomiro/zmk-config But it uses a cloned version of the action. Not the branch of the PR. I copied it over to my repo. Should I update the action to use the PR first?
I reference the action file in my repo now, here is the run: https://github.com/nidomiro/zmk-config/actions/runs/20093058775/job/57644776884