40f87bfc57
cd: test with go 1.23rc1
2024-07-02 00:30:31 +02:00
bf0cfec130
Merge pull request #11 from Crocmagnon/dependabot/go_modules/golang.org/x/tools-0.22.0
...
build(deps): bump golang.org/x/tools from 0.21.0 to 0.22.0
2024-07-02 00:23:55 +02:00
c6325891c1
Merge pull request #12 from Crocmagnon/dependabot/github_actions/goreleaser/goreleaser-action-6
...
build(deps): bump goreleaser/goreleaser-action from 5 to 6
2024-07-02 00:23:39 +02:00
dependabot[bot]
9a9e950a91
build(deps): bump goreleaser/goreleaser-action from 5 to 6
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 5 to 6.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 21:47:37 +00:00
dependabot[bot]
602eb047a9
build(deps): bump golang.org/x/tools from 0.21.0 to 0.22.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 21:23:29 +00:00
a2ca606f30
Merge pull request #10 from Crocmagnon/pre-commit-ci-update-config
...
Go / build (1.21, macos-latest) (push) Has been cancelled
Go / build (1.21, ubuntu-latest) (push) Has been cancelled
Go / build (1.21, windows-latest) (push) Has been cancelled
Go / build (1.22, macos-latest) (push) Has been cancelled
Go / build (1.22, ubuntu-latest) (push) Has been cancelled
Go / build (1.22, windows-latest) (push) Has been cancelled
golangci-lint / lint (1.21) (push) Has been cancelled
golangci-lint / lint (1.22) (push) Has been cancelled
[pre-commit.ci] pre-commit autoupdate
2024-06-11 07:51:32 +02:00
pre-commit-ci[bot]
802ac1311c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/golangci/golangci-lint: v1.59.0 → v1.59.1](https://github.com/golangci/golangci-lint/compare/v1.59.0...v1.59.1 )
2024-06-10 22:55:26 +00:00
e8053df661
Merge pull request #9 from MichaelUrman/contained
...
Go / build (1.21, macos-latest) (push) Has been cancelled
Go / build (1.21, ubuntu-latest) (push) Has been cancelled
Go / build (1.21, windows-latest) (push) Has been cancelled
Go / build (1.22, macos-latest) (push) Has been cancelled
Go / build (1.22, ubuntu-latest) (push) Has been cancelled
Go / build (1.22, windows-latest) (push) Has been cancelled
golangci-lint / lint (1.21) (push) Has been cancelled
golangci-lint / lint (1.22) (push) Has been cancelled
Test and fix cases with nested contexts
2024-05-29 17:29:50 +02:00
Michael Urman
69e9ae12fc
Explain getRootIdent/ObjectOf/Pos check
2024-05-29 10:26:10 -05:00
Michael Urman
0e13d068ad
Fix array test
...
The prior construct probably shouldn't issue an error.
These, however, both should (and do).
2024-05-29 10:07:03 -05:00
Michael Urman
3e9e29f41c
Test and fix cases with nested contexts
...
As long as the context is rooted in a non-pointer value that has a new
copy in the loop, it is as safe to copy that value as it is to copy the
context. So only report such cases when they are indirected and thus
shared.
2024-05-29 09:47:58 -05:00
6be4ab74b8
Merge pull request #7 from Crocmagnon/pre-commit-ci-update-config
...
Go / build (1.21, macos-latest) (push) Has been cancelled
Go / build (1.21, ubuntu-latest) (push) Has been cancelled
Go / build (1.21, windows-latest) (push) Has been cancelled
Go / build (1.22, macos-latest) (push) Has been cancelled
Go / build (1.22, ubuntu-latest) (push) Has been cancelled
Go / build (1.22, windows-latest) (push) Has been cancelled
golangci-lint / lint (1.21) (push) Has been cancelled
golangci-lint / lint (1.22) (push) Has been cancelled
[pre-commit.ci] pre-commit autoupdate
2024-05-28 07:23:56 +02:00
pre-commit-ci[bot]
db036b18d4
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/golangci/golangci-lint: v1.58.2 → v1.59.0](https://github.com/golangci/golangci-lint/compare/v1.58.2...v1.59.0 )
2024-05-27 22:24:08 +00:00
9beb365772
Merge pull request #6 from Crocmagnon/pre-commit-ci-update-config
...
Go / build (1.21, macos-latest) (push) Has been cancelled
Go / build (1.21, ubuntu-latest) (push) Has been cancelled
Go / build (1.21, windows-latest) (push) Has been cancelled
Go / build (1.22, macos-latest) (push) Has been cancelled
Go / build (1.22, ubuntu-latest) (push) Has been cancelled
Go / build (1.22, windows-latest) (push) Has been cancelled
golangci-lint / lint (1.21) (push) Has been cancelled
golangci-lint / lint (1.22) (push) Has been cancelled
[pre-commit.ci] pre-commit autoupdate
2024-05-21 08:56:02 +02:00
pre-commit-ci[bot]
954c9b64c6
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/golangci/golangci-lint: v1.58.1 → v1.58.2](https://github.com/golangci/golangci-lint/compare/v1.58.1...v1.58.2 )
2024-05-20 21:54:23 +00:00
acb08d4731
Merge pull request #5 from Crocmagnon/pre-commit-ci-update-config
...
Go / build (1.21, macos-latest) (push) Has been cancelled
Go / build (1.21, ubuntu-latest) (push) Has been cancelled
Go / build (1.21, windows-latest) (push) Has been cancelled
Go / build (1.22, macos-latest) (push) Has been cancelled
Go / build (1.22, ubuntu-latest) (push) Has been cancelled
Go / build (1.22, windows-latest) (push) Has been cancelled
golangci-lint / lint (1.21) (push) Has been cancelled
golangci-lint / lint (1.22) (push) Has been cancelled
[pre-commit.ci] pre-commit autoupdate
2024-05-14 07:20:53 +02:00
pre-commit-ci[bot]
66526fe956
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/golangci/golangci-lint: v1.58.0 → v1.58.1](https://github.com/golangci/golangci-lint/compare/v1.58.0...v1.58.1 )
2024-05-13 22:24:40 +00:00
d5171e1d54
Merge pull request #4 from Crocmagnon/dependabot/go_modules/golang.org/x/tools-0.21.0
...
Go / build (1.21, macos-latest) (push) Has been cancelled
Go / build (1.21, ubuntu-latest) (push) Has been cancelled
Go / build (1.21, windows-latest) (push) Has been cancelled
Go / build (1.22, macos-latest) (push) Has been cancelled
Go / build (1.22, ubuntu-latest) (push) Has been cancelled
Go / build (1.22, windows-latest) (push) Has been cancelled
golangci-lint / lint (1.21) (push) Has been cancelled
golangci-lint / lint (1.22) (push) Has been cancelled
build(deps): bump golang.org/x/tools from 0.19.0 to 0.21.0
2024-05-07 10:53:48 +02:00
dependabot[bot]
de95617005
build(deps): bump golang.org/x/tools from 0.19.0 to 0.21.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.19.0 to 0.21.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.19.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 08:50:53 +00:00
e7f3a75701
add dependabot config
2024-05-07 10:50:26 +02:00
ec963af14f
Merge pull request #3 from Crocmagnon/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-05-07 10:50:13 +02:00
da706a0193
update golangci-lint action
2024-05-07 10:45:21 +02:00
pre-commit-ci[bot]
0b0c70a0a6
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/golangci/golangci-lint: v1.57.2 → v1.58.0](https://github.com/golangci/golangci-lint/compare/v1.57.2...v1.58.0 )
2024-05-06 22:31:22 +00:00
6a0a70a6a3
Merge pull request #2 from Crocmagnon/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-04-09 07:21:40 +02:00
pre-commit-ci[bot]
b6bd36f685
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0 )
2024-04-08 23:04:56 +00:00
5cfbe16927
Update README.md
2024-04-06 09:09:43 +02:00
4c2ad68b8d
Merge pull request #1 from Crocmagnon/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-04-02 08:08:43 +02:00
pre-commit-ci[bot]
a0fa7dbcdc
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v2.3.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v2.3.0...v4.5.0 )
- [github.com/golangci/golangci-lint: v1.57.1 → v1.57.2](https://github.com/golangci/golangci-lint/compare/v1.57.1...v1.57.2 )
2024-04-01 22:39:17 +00:00
a2187f17e7
fix: remove panic
2024-03-28 00:08:19 +01:00
95e882dd7d
force github token in goreleaser
2024-03-28 00:01:25 +01:00
25cb4f05b9
fix goreleaser
2024-03-28 00:01:15 +01:00
781d685146
refactor: rename foreshadow to fatcontext
2024-03-27 23:50:12 +01:00
a7ef75e6e9
ci: skip go test in pre-commit.ci
2024-03-27 23:07:39 +01:00
da0fa3f168
Revert "ci: run go checks in pre-commit.ci"
...
This reverts commit 0ce2055c51
.
2024-03-27 23:07:11 +01:00
0ce2055c51
ci: run go checks in pre-commit.ci
2024-03-27 23:06:08 +01:00
384f8008b9
docs: update & document dev commands
2024-03-27 22:59:32 +01:00
03bce0f06d
ci: run goreleaser only if test & lint pass
2024-03-27 22:51:04 +01:00
48329d1b05
chore: setup goreleaser
2024-03-27 22:48:14 +01:00
8f5da5c4f4
run golangci-lint on ubuntu only
2024-03-27 22:35:57 +01:00
ad16182dc5
add .gitattributes to fix windows builds
2024-03-27 22:23:20 +01:00
92a12682a1
fix build job name
2024-03-27 22:18:59 +01:00
0f93f08dfd
add write checks for golangci-lint action
2024-03-27 22:18:21 +01:00
01653ec5e6
build for matrix of os & go versions
2024-03-27 22:17:29 +01:00
31fa0cfa64
skip golangci-lint in pre-commit.ci
2024-03-27 22:12:57 +01:00
fe11a610f8
setup linter in github actions
2024-03-27 22:11:46 +01:00
08021fa72a
Trigger pre-commit.ci
2024-03-27 22:04:44 +01:00
31dcab6d70
add linter and pre-commit
2024-03-27 22:01:27 +01:00
3aa8e86695
add LICENSE
2024-03-27 20:04:07 +01:00
89787d3472
add github actions
2024-03-27 20:01:10 +01:00
e294cd822f
fix: don't touch AST
2024-03-27 19:57:23 +01:00