Skip to content
This repository was archived by the owner on Jun 30, 2026. It is now read-only.

Commit 2c7e0b0

Browse files
authored
Fix action binary compilation and add CI coverage (#4)
env.vars() was interpreted as env.vars.apply() which requires a USize argument. The action/ package was never compiled during development or CI, so this went undetected. Fix to env.vars (field access). Add build-action step to the PR workflow so the action binary is compiled alongside the tests. Also add a docker-build job that builds the full Docker image, catching Dockerfile and static linking issues.
1 parent 7035169 commit 2c7e0b0

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/pr.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,13 @@ jobs:
2626
- uses: actions/checkout@v6.0.2
2727
- name: Test
2828
run: make test ssl=libressl config=debug
29+
- name: Build action binary
30+
run: make build-action ssl=libressl config=debug
31+
32+
docker-build:
33+
name: Verify Docker image builds
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v6.0.2
37+
- name: Build Docker image
38+
run: docker build .

action/main.pony

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use ssl = "ssl/net"
77

88
actor \nodoc\ Main
99
new create(env: Env) =>
10-
let vars = _parse_env_vars(env.vars())
10+
let vars = _parse_env_vars(env.vars)
1111
match zulip.InputParser(vars)
1212
| let input: zulip.Input =>
1313
match courier.URL.parse(input.organization_url)

0 commit comments

Comments
 (0)