Brian McGee
e0c3eefacf
chore: update gomod2nix
...
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-08-01 15:32:11 +01:00
mergify[bot]
8b153825cc
Merge pull request #363 from numtide/renovate/github.com-burntsushi-toml-1.x
...
fix(deps): update module github.com/burntsushi/toml to v1.4.0
2024-08-01 14:29:49 +00:00
mergify[bot]
7fbe1f62b6
Merge branch 'main' into renovate/github.com-burntsushi-toml-1.x
2024-08-01 14:29:17 +00:00
mergify[bot]
c5d4a17c72
Merge pull request #367 from numtide/renovate/github.com-go-git-go-billy-v5-digest
...
fix(deps): update github.com/go-git/go-billy/v5 digest to 69f6dc8
2024-08-01 14:28:37 +00:00
renovate[bot]
8a65f400b4
fix(deps): update module github.com/burntsushi/toml to v1.4.0
2024-08-01 14:28:28 +00:00
renovate[bot]
26765d04e4
fix(deps): update github.com/go-git/go-billy/v5 digest to 69f6dc8
2024-08-01 14:27:48 +00:00
Brian McGee
a7d4988f5a
Merge pull request #362 from numtide/renovate/github.com-adrg-xdg-0.x
...
fix(deps): update module github.com/adrg/xdg to v0.5.0
2024-08-01 15:27:20 +01:00
renovate[bot]
06066498ec
fix(deps): update module github.com/adrg/xdg to v0.5.0
2024-08-01 08:33:36 +00:00
Brian McGee
9668e89576
Merge pull request #359 from numtide/renovate/github.com-go-git-go-git-v5-digest
...
gh-pages / build (push) Waiting to run
gh-pages / deploy (push) Blocked by required conditions
golangci-lint / lint (push) Waiting to run
fix(deps): update github.com/go-git/go-git/v5 digest to 61f8d68
2024-08-01 09:32:56 +01:00
renovate[bot]
fac7d8fdd4
fix(deps): update github.com/go-git/go-git/v5 digest to 61f8d68
2024-08-01 04:52:45 +00:00
renovate[bot]
4b33ba369d
Add renovate.json ( #358 )
...
gh-pages / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
gh-pages / deploy (push) Has been cancelled
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 11:45:44 +02:00
mergify[bot]
e9bf08d0b6
Merge pull request #357 from mattalxndr/pr
...
gh-pages / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
gh-pages / deploy (push) Has been cancelled
Fixed broken URLs
2024-07-23 07:21:42 +00:00
Matt Alexander
52d8c48ec0
Update nixpkgs.toml
2024-07-22 16:05:10 -05:00
Matt Alexander
17c1785d56
Update treefmt.toml
2024-07-22 16:00:03 -05:00
mergify[bot]
dabe2aa4cb
Merge pull request #356 from numtide/dot-treefmt-toml
...
gh-pages / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
gh-pages / deploy (push) Has been cancelled
feat: search for .treefmt.toml
2024-07-21 10:40:10 +00:00
zimbatm
bc1ae33535
feat: search for .treefmt.toml
...
This restores treefmt v1 compatibility by also searching for the dot
prefixed version of the config file.
Fixes #355
2024-07-21 12:14:06 +02:00
mergify[bot]
6df86ef974
Merge pull request #354 from numtide/prj-root
...
gh-pages / build (push) Waiting to run
gh-pages / deploy (push) Blocked by required conditions
golangci-lint / lint (push) Waiting to run
fix(cli): restore PRJ_ROOT env var
2024-07-20 06:57:56 +00:00
zimbatm
43c2071975
fix(cli): restore PRJ_ROOT env var
...
PRJ_ROOT is coming from the https://github.com/numtide/prj-spec and was
used in treefmt 1.x
Fixes #353
2024-07-20 08:55:49 +02:00
mergify[bot]
debc3e49df
Merge pull request #347 from numtide/dependabot/github_actions/actions/checkout-4
...
gh-pages / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
gh-pages / deploy (push) Has been cancelled
chore(deps): bump actions/checkout from 3 to 4
2024-07-10 20:12:29 +00:00
mergify[bot]
18e0ae2ee7
Merge branch 'main' into dependabot/github_actions/actions/checkout-4
2024-07-10 20:11:56 +00:00
Brian McGee
5afe6441e6
Merge pull request #348 from numtide/fix/relative-path-resolution
...
gh-pages / build (push) Waiting to run
gh-pages / deploy (push) Blocked by required conditions
golangci-lint / lint (push) Waiting to run
fix: relative path resolution in filesystem walker
2024-07-10 11:58:48 +01:00
Brian McGee
0953dd58f2
feat: refactor relative path function for git walker
...
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-09 19:45:38 +01:00
Brian McGee
0a8ffe0c63
feat: move filtering of directories and symlinks into walker implementations
...
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-09 19:21:09 +01:00
Brian McGee
ff8b1ed367
feat: refactor relative path function for filesystem walker
...
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-09 19:12:06 +01:00
Brian McGee
a018c297d9
fix: relative path resolution in filesystem walker
...
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-09 13:41:28 +01:00
dependabot[bot]
fef1caf33f
chore(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 17:02:06 +00:00
Brian McGee
65152cb373
Merge pull request #345 from numtide/fix/fail-on-change
...
gh-pages / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
gh-pages / deploy (push) Has been cancelled
fix: use second precision when comparing file mod times
2024-07-07 11:17:11 +01:00
Brian McGee
85ce0a2f74
fix: use second precision when comparing file mod times
...
We were using whatever precision the underlying file system was giving us, and in some cases that can be very detailed. Some formatters mess with the mod time, but not to the same precision (e.g. dos2unix).
POSIX also specifies that mod time should be EPOCH (second) precision.
This change brings us back in line with how 1.x worked, and should resolve issues with false fail on change errors.
2024-07-06 17:38:43 +01:00
Brian McGee
23e563b239
Merge pull request #344 from numtide/fix/no-cache
...
gh-pages / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
gh-pages / deploy (push) Has been cancelled
fix: --no-cache
2024-07-05 22:16:05 +01:00
Brian McGee
42decbfafb
fix: --no-cache
...
Separates out the logic for detecting changes from the logic for updating the cache, fixing the case where both `--fail-on-change` and `--no-cache` are enabled.
Signed-off-by: Brian McGee <brian@bmcgee.ie>
Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-05 21:52:34 +01:00
Brian McGee
6776b9f095
Update cli/format.go
...
Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>
2024-07-05 21:23:13 +01:00
Brian McGee
b2000dc1ec
Update cli/format.go
...
Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>
2024-07-05 18:26:13 +01:00
mergify[bot]
be50beb584
Merge pull request #340 from numtide/feat/reduce-stats-time-precision
...
gh-pages / build (push) Waiting to run
gh-pages / deploy (push) Blocked by required conditions
golangci-lint / lint (push) Waiting to run
Improve summary stats
2024-07-05 15:22:10 +00:00
Brian McGee
e5e1c9d326
doc: update summary statistics examples
...
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-05 16:20:35 +01:00
Brian McGee
631cf04fff
chore: remove console.log in vitepress config
...
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-05 16:18:18 +01:00
Brian McGee
da7b015190
feat: improve summary stats
...
Close #340
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-05 16:17:26 +01:00
Brian McGee
a64214526e
feat: display elapsed time to nearest millisecond
...
Close #337
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-05 16:17:26 +01:00
Brian McGee
9bbc49a0bc
Merge pull request #341 from numtide/feat/versioned-docs
...
feat: simple versioned docs
2024-07-05 16:16:38 +01:00
Brian McGee
33a7bba5b1
fix: --no-cache
...
Separates out the logic
for detecting changes from the logic for updating the cache, fixing the case where both `--fail-on-change` and `--no-cache`
are enabled.
Closes #343
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-05 16:11:22 +01:00
Brian McGee
d9f413a169
feat: simple versioned docs
...
It's a little brute force,
but since we have a small amount of docs currently it should help us in the near term
to avoid
releasing doc updates for features that have not been released yet.
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-04 14:40:41 +01:00
Brian McGee
4cc7e00488
refine github workflows ( #331 )
...
gh-pages / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
gh-pages / deploy (push) Has been cancelled
* ci: add golangci-lint workflow
It doesn't conform to the treefmt spec so we run it here to catch any issues.
* ci: switch to buildbot
---------
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-03 19:14:42 +01:00
mergify[bot]
45cc82c105
Merge pull request #330 from numtide/feat/cache-fallback
...
gh-pages / build (push) Waiting to run
gh-pages / deploy (push) Blocked by required conditions
Nix Flake Actions / nix-matrix (push) Has been cancelled
Nix Flake Actions / nix-build (push) Has been cancelled
feat: if we can't open the cache, fallback to no cache
2024-07-03 10:24:53 +00:00
Brian McGee
f266fc863b
feat: if we can't open the cache, fallback to no cache
...
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-03 09:40:46 +01:00
Brian McGee
39bc4464b1
Merge pull request #329 from numtide/reduce-readme
...
gh-pages / build (push) Has been cancelled
Nix Flake Actions / nix-matrix (push) Has been cancelled
gh-pages / deploy (push) Has been cancelled
Nix Flake Actions / nix-build (push) Has been cancelled
README: drop unecessary meme
2024-07-02 07:52:53 +01:00
Jörg Thalheim
9da59c7364
run deploy only on main
2024-07-02 07:43:24 +02:00
Jörg Thalheim
871701e184
README: drop unecessary meme
...
I don't think it adds much value to the project but takes up space and
attention in the README.
At the end of the day, do users care what language something is written
in?
One can implement a rollercoaster in Excel:
https://www.youtube.com/watch?v=IrVA1BBHFHw
2024-07-02 07:08:21 +02:00
Brian McGee
aa9f78b716
feat: remove release constraint on docs deployment
...
gh-pages / build (push) Waiting to run
gh-pages / deploy (push) Blocked by required conditions
Nix Flake Actions / nix-matrix (push) Waiting to run
Nix Flake Actions / nix-build (push) Blocked by required conditions
Need a better story
to keep docs changes for new features away from the website
before they're released,
but in the short term we need
to be able to push out edits and fixes without releasing.
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-01 20:26:11 +01:00
mergify[bot]
33d2f60701
Merge pull request #325 from numtide/fix/global-excludes
...
fix: configure toml keys for config fields
2024-07-01 15:52:48 +00:00
mergify[bot]
a77db5291d
Merge branch 'main' into fix/global-excludes
2024-07-01 15:52:15 +00:00
mergify[bot]
c3e3c05128
Merge pull request #326 from numtide/fix/global-excludes-docs
...
doc: fix global excludes config example
2024-07-01 15:32:59 +00:00