Add GitHub Actions CI (hardened, supersedes #6) - #9
Merged
Conversation
There was no CI configuration; PRs showed an empty status-check rollup and the broken `release.sh` was the only automation. Adds: - `:test-runner` alias in deps.edn, wiring cognitect-labs/test-runner so `clojure -M:test-runner` runs the full suite. - `.github/workflows/test.yml` that checks out, installs Temurin 17 and the Clojure CLI, caches `~/.m2` and `~/.gitlibs`, and runs the test-runner on every push to master and every pull request.
- Add explicit `permissions: contents: read` so the workflow runs with least-privilege regardless of repo defaults. - Pin all third-party and first-party actions to commit SHAs (with the human-readable version in a trailing comment) so a moving tag cannot silently inject new code into the build. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebased version of #6 with security hardening:
privilege; doesn't rely on repo defaults).
comment, including the third-party `DeLaGuardo/setup-clojure`. A
moving tag (or compromised maintainer account) can no longer inject
new code into the build.
Closes #6