diff --git a/.gitignore b/.gitignore index ed64e01..d5d0149 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /go-change-delta unit-test-coverage.out +.direnv diff --git a/.golangci.yaml b/.golangci.yaml index af98922..2670bba 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -79,4 +79,4 @@ linters-settings: - name: atomic issues: exclude-dirs: - - examples + - .*/nix/store/.* diff --git a/.tool-versions b/.tool-versions index 5c9eee7..0f9571a 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,5 +1,5 @@ -golang 1.22.5 -golangci-lint 1.59.1 +golang 1.23.0 +golangci-lint 1.60.1 typos 1.23.3 shfmt 3.8.0 shellcheck 0.10.0 diff --git a/README.md b/README.md index 0cfe0b0..c5a2c08 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -# WIP - # go-change-delta go-change-delta is a tool to detect the blast radius of changes in a Go-based repository. It helps you identify which packages are affected by changes in your codebase, enabling more focused and efficient testing. @@ -77,8 +75,3 @@ jobs: ## Contributing Contributions are welcome! Feel free to open an issue or submit a pull request. - -# TODO: - -- Setup and add CI -- Add a github action to make using this easier in other CIs diff --git a/flake.lock b/flake.lock index f872074..f206631 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1722062969, - "narHash": "sha256-QOS0ykELUmPbrrUGmegAUlpmUFznDQeR4q7rFhl8eQg=", + "lastModified": 1723991338, + "narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=", "owner": "nixos", "repo": "nixpkgs", - "rev": "b73c2221a46c13557b1b3be9c2070cc42cf01eb3", + "rev": "8a3354191c0d7144db9756a74755672387b702ba", "type": "github" }, "original": { diff --git a/nix/ci-runtests.nix b/nix/ci-runtests.nix index 8997d1d..441d990 100644 --- a/nix/ci-runtests.nix +++ b/nix/ci-runtests.nix @@ -1,7 +1,7 @@ { pkgs, scriptDir }: with pkgs; let - go = pkgs.go_1_22; + go = pkgs.go_1_23; in mkShell { nativeBuildInputs = [ diff --git a/nix/devshell.nix b/nix/devshell.nix index b691f42..73c251a 100644 --- a/nix/devshell.nix +++ b/nix/devshell.nix @@ -1,7 +1,7 @@ { pkgs, scriptDir }: with pkgs; let - go = pkgs.go_1_22; + go = pkgs.go_1_23; in mkShell { nativeBuildInputs = [