Skip to content

Use mise and hk - #482

Open
alexanderlinne wants to merge 5 commits into
mainfrom
mise-hk-tooling
Open

Use mise and hk#482
alexanderlinne wants to merge 5 commits into
mainfrom
mise-hk-tooling

Conversation

@alexanderlinne

Copy link
Copy Markdown
Collaborator

No description provided.

Introduces mise for pinned tool versions (.NET SDK, hk, actionlint,
gitleaks, zizmor) and hk as the lint/hook runner, with mise tasks
(`mise run check` / `mise run check --fix`) as the single entry point
for local and CI use. The CI lint job now runs the same task instead of
invoking csharpier directly.

Signed-off-by: Alexander Linne <alexander.linne@tngtech.com>
Set contents: read as the repo-wide default permission, disable
credential persistence on checkouts that don't need to push (the
gh-pages checkout keeps it, since later steps push to it), pin the
codecov-action to a SHA, and route DOCS_OUTPUT_DIR through a step-level
env mapping instead of interpolating it into the run script to avoid
template injection.

Signed-off-by: Alexander Linne <alexander.linne@tngtech.com>
Travis has been fully superseded by the GitHub Actions build.yaml
workflow (lint, tests, coverage, doc publishing via doxygen, and
package publishing). .travis.yml itself was already broken, referencing
Travis/test_linux.sh, Travis/test_windows.ps1, and Travis/deploy.ps1,
none of which exist in the repo anymore. The remaining Travis/ scripts
duplicated the doc-publishing job that build.yaml's publish-docs job
already performs natively.

Signed-off-by: Alexander Linne <alexander.linne@tngtech.com>
Applies hk's trailing_whitespace and newlines checks across the repo,
excluding golden/fixture files compared byte-for-byte by tests and
vendored legal text (see hygieneExclude in hk.pkl).

Signed-off-by: Alexander Linne <alexander.linne@tngtech.com>
Signed-off-by: Alexander Linne <alexander.linne@tngtech.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.50%. Comparing base (1ab5943) to head (69f083c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #482   +/-   ##
=======================================
  Coverage   82.50%   82.50%           
=======================================
  Files         259      259           
  Lines       12395    12395           
  Branches     1206     1206           
=======================================
  Hits        10226    10226           
  Misses       1798     1798           
  Partials      371      371           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants