Skip to content

Commit

Permalink
fix panic on go 1.22.x (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
peczenyj committed Apr 18, 2024
1 parent b7ec239 commit 5237e80
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,22 @@
"build": {
"name": "Build",
"runs-on": "ubuntu-latest",
"strategy": {
"matrix": {
"go": ["1.18.x","1.19.x","1.20.x","1.21.x","1.22.x"]
},
},
"steps": [
{
"name": "Set up Go 1.18",
"uses": "actions/setup-go@v1",
"with": {"go-version": 1.18},
"name": "Set up Go ${{ matrix.go }}",
"uses": "actions/setup-go@v5",
"with": {"go-version": "${{ matrix.go }}" },
"id": "go",
},
{"name": "Check out code into the Go module directory", "uses": "actions/checkout@v1"},
{"name": "Check out code into the Go module directory", "uses": "actions/checkout@v4"},
{"name": "Lint", "run": "make lint"},
{"name": "Test", "run": "make test"},
],
},
},
}
}
5 changes: 3 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ require (
github.com/go-toolsmith/pkgload v1.0.0
github.com/go-toolsmith/typep v1.0.0
github.com/kisielk/gotool v1.0.0
golang.org/x/tools v0.11.0
golang.org/x/tools v0.13.0
)

require (
golang.org/x/mod v0.12.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.12.0 // indirect
)

go 1.20
11 changes: 6 additions & 5 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc=
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E=
golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/tools v0.0.0-20190110163146-51295c7ec13a/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.11.0 h1:EMCa6U9S2LtZXLAMoWiR/R8dAQFRqbAitmbJ2UKhoi8=
golang.org/x/tools v0.11.0/go.mod h1:anzJrxPjNtfgiYQYirP2CPGzGLxrH2u2QBhn6Bf3qY8=
golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ=
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=

0 comments on commit 5237e80

Please sign in to comment.