Skip to content

refactor: imports#27

Merged
fbraza merged 6 commits intomasterfrom
scala3-build
Sep 12, 2025
Merged

refactor: imports#27
fbraza merged 6 commits intomasterfrom
scala3-build

Conversation

@fbraza
Copy link
Copy Markdown
Owner

@fbraza fbraza commented Sep 11, 2025

Here we

  1. Update the build.sbt file to make the library compile in scala 2.12, 2.13 and 3.*
  2. Remove and edit some redundant and missing imports

@fbraza
Copy link
Copy Markdown
Owner Author

fbraza commented Sep 12, 2025

🎯 Overview

This PR modernizes the build infrastructure and improves the developer experience for the scala-dfs-lib project.

✨ Key Changes

Build & CI Improvements

  • Added Taskfile.yml: Use Task for cleaner build automation
    • Simple commands: task compile, task test, task clean
    • Supports all Scala versions (2.12, 2.13, 3)
    • Default task runs full pipeline
  • GitHub Actions CI: New workflow (.github/workflows/ci.yml)
    • Automated testing on push/PR to master
    • Tests against all Scala versions
    • SBT dependency caching for faster builds
    • Integrated with Taskfile commands

Test Environment

  • Added log4j configuration (src/test/resources/log4j.properties)
    • Reduces verbose Hadoop/MiniDFS logging during tests
    • Cleaner test output while preserving important logs
    • Better developer experience when running tests locally

Code Quality

  • Import refactoring: Cleaned up and organized imports across all source files
  • Cross-version compatibility: Enhanced build.sbt for better Scala 2/3 support

Cleanup

  • Removed unused OpenCode GitHub workflow and agent configuration

@fbraza fbraza merged commit 818f0ff into master Sep 12, 2025
1 check passed
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