Skip to content

Plimsoll 0.2.0

Latest

Choose a tag to compare

@hasanyelaldi hasanyelaldi released this 13 Nov 15:13
· 40 commits to main since this release
c24a34e

Plimsoll in CI: SARIF output for GitHub code scanning, and a GitHub Action that runs the analysis and uploads it. It is also on Maven Central as io.github.hasanyelaldi:plimsoll-cli:0.2.0 (plus plimsoll-core and plimsoll-collectors).

- uses: hasanyelaldi/plimsoll@v0.2.0
  with:
    path: .   # a directory of services, or a spec

The job needs security-events: write to upload; see In GitHub Actions. On the command line: java -jar plimsoll.jar analyze --format=SARIF path/to/spec-or-repo.

plimsoll.jar is signed with key CBFEEF57067799F155B117A344F145F2D5D160C1 (plimsoll.jar.asc). SHA-256: 885fc23bcb8dcf7ed504a87a4f124a17e6a6f0e2e3f7e3dee2706545562aeae0.

Read the known limitations before trusting a report.

What's in 0.2.0

Plimsoll in CI: SARIF output for code scanning and a GitHub Action that runs the analysis and uploads it.

CLI and report

  • --format=SARIF: SARIF 2.1.0 for code scanning; a finding is placed at the first file:line among its values
    (ADR 0013, #75). Each result has its own primaryLocationLineHash, so findings that share a line stay separate
    alerts (#76).
  • GitHub Action (uses: hasanyelaldi/plimsoll@v0.2.0): downloads the release jar, checks its SHA-256 and signature,
    runs the analysis and uploads SARIF to code scanning; fails on findings at or above fail-on after the upload (#76).

Build

  • CI runs the GitHub Action on Linux and macOS (#76).
  • plimsoll --version prints the project version from the POM instead of a hard-coded string (#73).