Skip to content

chore: Upgrade toolchain and modernize CI (Ciris 2.x) - #156

Open
jensraaby wants to merge 4 commits into
masterfrom
compliance/toolchain-upgrade-master
Open

jensraaby wants to merge 4 commits into
masterfrom
compliance/toolchain-upgrade-master

Conversation

@jensraaby

Copy link
Copy Markdown
Contributor

Summary

Brings the Ciris 2.x branch (master) into compliance with updated toolchain and modernized CI.

Changes

Toolchain Upgrades

Component Before After
SBT 1.6.2 1.10.11
Scala 2.13 2.13.10 2.13.16
Scala 2.12 2.12.17 2.12.20
Scalafmt 3.6.1 3.8.6
sbt-release 1.1.0 1.4.0

CI Improvements

  • Replaced deprecated actions/checkout@v1 with @v4
  • Replaced deprecated olafurpg/setup-scala@v10 with actions/setup-java@v4
  • Added sbt-scalafmt plugin and scalafmt check step
  • Added test step to CI workflow
  • Enabled SBT caching for faster builds
  • Upgraded release-drafter v5 → v6

Tests

  • Added munit and munit-cats-effect test dependencies
  • Added basic unit tests for secretInNamespace and configMapInNamespace

Testing

  • All unit tests passing on Scala 2.12.20 and 2.13.16
  • Scalafmt check passing
  • Cross-compilation verified

- Upgrade SBT 1.6.2 → 1.10.11
- Upgrade Scala 2.13.10 → 2.13.16, 2.12.17 → 2.12.20
- Upgrade scalafmt 3.6.1 → 3.8.6
- Upgrade sbt-release 1.1.0 → 1.4.0
- Add sbt-scalafmt plugin 2.5.4
- Modernize CI: actions/checkout@v4, actions/setup-java@v4
- Add scalafmt check and test steps to CI
- Add munit test dependencies and basic unit tests
- Upgrade release-drafter v5 → v6
Replace kaluza-github-actions with standard setup-java and sbt/setup-sbt
actions, following the pattern used in http4s-oauth2.
@jensraaby
jensraaby force-pushed the compliance/toolchain-upgrade-master branch from bf002c5 to 5bf05bb Compare January 30, 2026 12:58
Add 6 integration tests that verify actual K8s API calls work correctly.
Tests are marked as .ignore for CI since they require a running cluster.

To run locally with a cluster:
1. Start Colima with K8s: colima start --kubernetes
2. Create test fixtures in secrets-test and pizza namespaces
3. Remove .ignore from test names and run sbt +test
@jensraaby
jensraaby force-pushed the compliance/toolchain-upgrade-master branch from 011ae19 to e15dffd Compare January 30, 2026 13:32
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.

1 participant