Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,21 @@ jobs:
- name: Compile binary
run: deno task compile

- name: Smoke test compiled binary
# Compiling proves the binary builds; running --version and --help
# proves it actually boots, registers the command tree, and exits
# cleanly. Catches runtime regressions (e.g. a top-level import
# that throws on load) that the compile step alone doesn't.
shell: bash
run: |
if [ "$RUNNER_OS" = "Windows" ]; then
binary="./swamp.exe"
else
binary="./swamp"
fi
"$binary" --version
"$binary" --help > /dev/null

deps-audit:
name: Dependency Audit
runs-on: ubuntu-latest
Expand Down
Loading