Skip to content

Build maintenance and modernization for 2025#6

Merged
mroth merged 11 commits intomainfrom
2025-cleanup
Jul 27, 2025
Merged

Build maintenance and modernization for 2025#6
mroth merged 11 commits intomainfrom
2025-cleanup

Conversation

@mroth
Copy link
Copy Markdown
Owner

@mroth mroth commented Jul 27, 2025

Updating the build mechanics (and making a few small cleanups at the same time).

@mroth mroth requested a review from Copilot July 27, 2025 00:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the build infrastructure and codebase for 2025, updating Go version requirements and refactoring the core scanning functionality to use Go's fs.FS interface for better testability and abstraction.

  • Updates Go version from 1.17 to 1.24 and modernizes CI/CD workflows
  • Refactors scanning functionality to use fs.FS interface instead of direct filesystem access
  • Updates build configuration and release processes with latest tooling

Reviewed Changes

Copilot reviewed 10 out of 19 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
go.mod Updates Go version requirement from 1.17 to 1.24
main.go Refactors to use fs.FS interface and updates import paths
internal/deepclean/scan.go Core refactoring to use fs.FS interface and modernizes code patterns
internal/deepclean/scan_test.go Updates tests to work with new fs.FS interface
.goreleaser.yml Modernizes release configuration to version 2 format
.github/workflows/*.yml Updates CI/CD workflows with latest actions and security features
Makefile Simplifies build process and removes outdated comments
README.md Updates installation instructions for homebrew tap
.github/SECURITY.md Adds security policy documentation
Comments suppressed due to low confidence (1)

go.mod:3

  • Go version 1.24 does not exist. The latest stable Go version as of January 2025 was 1.23. Please use a valid Go version like '1.23' or check the current stable release.
go 1.24

Comment thread internal/deepclean/scan.go Outdated
These are likely I/O bound, and concurrency is more to provide "snappy"
feeling streaming results by not having a large directory hold up all.
@mroth mroth merged commit 7250872 into main Jul 27, 2025
2 checks passed
@mroth mroth deleted the 2025-cleanup branch July 27, 2025 01: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.

2 participants