build(ci): run hexcheck v0.3.1 so it reads Go 1.27 export data
hexcheck v0.2.0 links golang.org/x/tools v0.45.0, which cannot decode the export data written by Go 1.27.2. v0.3.1 renamed its flags to -config and -root, so make arch uses them.
- commit
- d7256d069a448bfcd136a25c1b343c997877f905
- author
- brice · · 2026-10-09 11:50 UTC
- parent
- 35799ea
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
2 files · +2 -2
M .github/workflows/ci.yml +1 -1
| @@ -32,7 +32,7 @@ jobs: | |||
| 32 | 32 | git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| 33 | 33 | install -d -m 700 "$XDG_RUNTIME_DIR" | |
| 34 | 34 | - run: | | |
| 35 | - | go install github.com/bnema/hexcheck/cmd/hexcheck@v0.2.0 | |
| 35 | + | go install github.com/bnema/hexcheck/cmd/hexcheck@v0.3.1 | |
| 36 | 36 | go install github.com/vektra/mockery/v3@v3.8.0 | |
| 37 | 37 | go install honnef.co/go/tools/cmd/staticcheck@latest | |
| 38 | 38 | - run: make check | |
| @@ -32,7 +32,7 @@ jobs: | |||||
| 32 | git config --global --add safe.directory "$GITHUB_WORKSPACE" | 32 | git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
| 33 | install -d -m 700 "$XDG_RUNTIME_DIR" | 33 | install -d -m 700 "$XDG_RUNTIME_DIR" | ||
| 34 | - run: | | 34 | - run: | | ||
| 35 | - | go install github.com/bnema/hexcheck/cmd/hexcheck@v0.2.0 | 35 | + | go install github.com/bnema/hexcheck/cmd/hexcheck@v0.3.1 |
| 36 | go install github.com/vektra/mockery/v3@v3.8.0 | 36 | go install github.com/vektra/mockery/v3@v3.8.0 | ||
| 37 | go install honnef.co/go/tools/cmd/staticcheck@latest | 37 | go install honnef.co/go/tools/cmd/staticcheck@latest | ||
| 38 | - run: make check | 38 | - run: make check | ||
M Makefile +1 -1
| @@ -44,7 +44,7 @@ fakes-check: | |||
| 44 | 44 | rc=0; grep -rniE '$(FAKES)' --include='*_test.go' --exclude='*_mock_test.go' $$dirs || rc=$$?; \ | |
| 45 | 45 | [ $$rc -eq 1 ] || { [ $$rc -eq 0 ] && echo 'handwritten test double: add an interface and a Mockery entry (see AGENTS.md)' >&2; exit 1; } | |
| 46 | 46 | arch: | |
| 47 | - | $(HEXCHECK) -hexcheck.config .hexcheck.yaml -hexcheck.root . ./... | |
| 47 | + | $(HEXCHECK) -config .hexcheck.yaml -root . ./... | |
| 48 | 48 | # Steady-state allocation guards. PERF_TESTS lists exact test names and PERF_PKGS | |
| 49 | 49 | # the packages holding them. Every named test must exist, so the guard cannot | |
| 50 | 50 | # pass vacuously when a frame-path test is removed or renamed. | |
| @@ -44,7 +44,7 @@ fakes-check: | |||||
| 44 | rc=0; grep -rniE '$(FAKES)' --include='*_test.go' --exclude='*_mock_test.go' $$dirs || rc=$$?; \ | 44 | rc=0; grep -rniE '$(FAKES)' --include='*_test.go' --exclude='*_mock_test.go' $$dirs || rc=$$?; \ | ||
| 45 | [ $$rc -eq 1 ] || { [ $$rc -eq 0 ] && echo 'handwritten test double: add an interface and a Mockery entry (see AGENTS.md)' >&2; exit 1; } | 45 | [ $$rc -eq 1 ] || { [ $$rc -eq 0 ] && echo 'handwritten test double: add an interface and a Mockery entry (see AGENTS.md)' >&2; exit 1; } | ||
| 46 | arch: | 46 | arch: | ||
| 47 | - | $(HEXCHECK) -hexcheck.config .hexcheck.yaml -hexcheck.root . ./... | 47 | + | $(HEXCHECK) -config .hexcheck.yaml -root . ./... |
| 48 | # Steady-state allocation guards. PERF_TESTS lists exact test names and PERF_PKGS | 48 | # Steady-state allocation guards. PERF_TESTS lists exact test names and PERF_PKGS | ||
| 49 | # the packages holding them. Every named test must exist, so the guard cannot | 49 | # the packages holding them. Every named test must exist, so the guard cannot | ||
| 50 | # pass vacuously when a frame-path test is removed or renamed. | 50 | # pass vacuously when a frame-path test is removed or renamed. | ||