ci: add pull request workflow with fmt, vet, and tests #22

Merged
addison merged 4 commits from exe-dev-bot/kiosk:feat/ci-pull-request into main 2026-02-21 07:02:20 -05:00
Contributor

Adds a Forgejo Actions CI workflow that runs on every pull request commit.

Steps:

  1. Check formatting — fails if any file isn't gofmt-compliant
  2. Vetgo vet ./...
  3. Testgo test ./...

Runs in a golang:1.24 container, matching the existing release workflow.

Adds a Forgejo Actions CI workflow that runs on every pull request commit. Steps: 1. **Check formatting** — fails if any file isn't `gofmt`-compliant 2. **Vet** — `go vet ./...` 3. **Test** — `go test ./...` Runs in a `golang:1.24` container, matching the existing release workflow.
ci: add pull request workflow with fmt, vet, and tests
Some checks failed
CI / ci (pull_request) Has been cancelled
030858fef4
Co-authored-by: Shelley <shelley@exe.dev>
Merge branch 'main' into feat/ci-pull-request
Some checks failed
CI / ci (pull_request) Failing after 1s
badd456253
fix(ci): use head repo clone URL for fork PR checkout
Some checks failed
CI / ci (pull_request) Failing after 1s
ee66bebf36
The checkout was cloning from the base repo (kwila/kiosk) but looking
for the PR branch, which only exists in the fork. Use the head repo
clone URL from the event payload instead.

Co-authored-by: Shelley <shelley@exe.dev>
style: run gofmt on unformatted files
All checks were successful
CI / ci (pull_request) Successful in 54s
20b4630e59
Co-authored-by: Shelley <shelley@exe.dev>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
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
kwila/kiosk!22
No description provided.