Skip to content

Commit c7c1ad7

Browse files
authored
Merge pull request #19 from alexandear/update-x-tools-fix-tests-panic
Update x/tools to fix panic in tests
2 parents 477bc01 + 4e1261f commit c7c1ad7

File tree

3 files changed

+17
-20
lines changed

3 files changed

+17
-20
lines changed

.github/workflows/testandvet.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,12 @@ jobs:
2323

2424
steps:
2525
- name: Install Go
26-
uses: actions/setup-go@v2
26+
uses: actions/setup-go@v5
2727
with:
28-
go-version: 1.16.x
28+
go-version: 1.23.x
2929

3030
- name: Checkout code
31-
uses: actions/checkout@v2
32-
33-
- name: Cache Go module and build cache
34-
uses: actions/cache@v2
35-
with:
36-
key: go-${{ hashFiles('**/go.sum') }}
37-
path: |
38-
~/go/pkg/mod
39-
restore-keys: |
40-
go-
31+
uses: actions/checkout@v4
4132

4233
- name: Install tennvet
4334
run: |

go.mod

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
module github.com/gostaticanalysis/forcetypeassert
22

3-
go 1.12
3+
go 1.18
44

5-
require golang.org/x/tools v0.0.0-20190321232350-e250d351ecad
5+
require golang.org/x/tools v0.13.0
6+
7+
require (
8+
golang.org/x/mod v0.12.0 // indirect
9+
golang.org/x/sys v0.12.0 // indirect
10+
)

go.sum

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
2-
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
3-
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
4-
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
5-
golang.org/x/tools v0.0.0-20190321232350-e250d351ecad h1:tYrC3aF7wTeS1noni7wCGu94xeMVu0dxOdFufzx/VM8=
6-
golang.org/x/tools v0.0.0-20190321232350-e250d351ecad/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
1+
golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc=
2+
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
3+
golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E=
4+
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
5+
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6+
golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ=
7+
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=

0 commit comments

Comments
 (0)