Skip to content

Commit ea67646

Browse files
authored
Merge pull request #15202 from github/mbg/go/1.22
Go: Update workflows and expected test results for Go 1.22
2 parents 2e479de + 0ad04d4 commit ea67646

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.github/workflows/go-tests-other-os.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- .github/actions/**
99
- codeql-workspace.yml
1010
env:
11-
GO_VERSION: '~1.21.0'
11+
GO_VERSION: '~1.22.0'
1212

1313
permissions:
1414
contents: read
@@ -22,6 +22,7 @@ jobs:
2222
uses: actions/setup-go@v5
2323
with:
2424
go-version: ${{ env.GO_VERSION }}
25+
cache: false
2526
id: go
2627

2728
- name: Check out code
@@ -58,6 +59,7 @@ jobs:
5859
uses: actions/setup-go@v5
5960
with:
6061
go-version: ${{ env.GO_VERSION }}
62+
cache: false
6163
id: go
6264

6365
- name: Check out code

.github/workflows/go-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
- codeql-workspace.yml
1818

1919
env:
20-
GO_VERSION: '~1.21.0'
20+
GO_VERSION: '~1.22.0'
2121

2222
permissions:
2323
contents: read
@@ -32,6 +32,7 @@ jobs:
3232
uses: actions/setup-go@v5
3333
with:
3434
go-version: ${{ env.GO_VERSION }}
35+
cache: false
3536
id: go
3637

3738
- name: Check out code

go/ql/test/library-tests/semmle/go/Function/TypeParamType.expected

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
1+
| E | Ordered |
2+
| E | comparable |
3+
| E | interface { } |
4+
| E1 | interface { } |
5+
| E2 | interface { } |
16
| Edge | EdgeConstraint |
27
| Edge | interface { } |
38
| F | floaty |
49
| K | comparable |
510
| Node | NodeConstraint |
611
| Node | interface { } |
712
| S | interface { } |
13+
| S | interface { ~[]E } |
14+
| S1 | interface { ~[]E1 } |
15+
| S2 | interface { ~[]E2 } |
816
| SF2 | interface { } |
917
| SG2 | interface { } |
18+
| T | Ordered |
19+
| T | comparable |
20+
| T | interface { string \| []uint8 } |
1021
| T | interface { } |
1122
| T1 | interface { } |
1223
| T2 | interface { } |

0 commit comments

Comments
 (0)