Skip to content

Commit 602ebe5

Browse files
authored
Bump up Go version to 1.19 (#170)
1 parent 651d196 commit 602ebe5

278 files changed

Lines changed: 130 additions & 25578 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/command-tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ jobs:
3131
strategy:
3232
matrix:
3333
oap:
34-
- 8.8.1
35-
- 9.0.0
34+
- e5950cc06279a83c64089f94613b06ec0ef0d911
3635
steps:
3736
- uses: actions/checkout@v2
3837
- name: Check for go file changes
@@ -42,14 +41,15 @@ jobs:
4241
token: ${{ github.token }}
4342
filters: .github/file-filters.yml
4443

45-
- name: setup go
46-
if: steps.changes.outputs.src == 'true'
44+
- name: Set up Go
4745
uses: actions/setup-go@v2
4846
with:
49-
go-version: '1.16'
47+
go-version: 1.18
5048

5149
- name: Test commands
5250
if: steps.changes.outputs.src == 'true'
53-
uses: apache/skywalking-infra-e2e@d714677324e31cd4ab45782e58cea0946a065132
51+
uses: apache/skywalking-infra-e2e@964ede199fe199e166920169dc5f8c9b214cfac5
52+
env:
53+
OAP_TAG: ${{ matrix.oap }}
5454
with:
55-
e2e-file: test/cases/${{ matrix.oap }}/test.yaml
55+
e2e-file: test/cases/basic/test.yaml

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
token: ${{ github.token }}
3838
filters: .github/file-filters.yml
3939

40-
- name: Set up Go 1.16
40+
- name: Set up Go
4141
uses: actions/setup-go@v2
4242
with:
43-
go-version: 1.16
43+
go-version: 1.18
4444

4545
- name: Check code generation
4646
run: make check-codegen

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
token: ${{ secrets.GITHUB_TOKEN }}
3939
filters: .github/file-filters.yml
4040

41-
- name: Set up Go 1.16
41+
- name: Set up Go
4242
uses: actions/setup-go@v2
4343
with:
44-
go-version: 1.16
44+
go-version: 1.18
4545

4646
- name: golangci-lint
4747
if: steps.changes.outputs.src == 'true'

.github/workflows/license-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ jobs:
3737
- name: Setup Go
3838
uses: actions/setup-go@v3
3939
with:
40-
go-version: "1.16"
40+
go-version: "1.18"
4141
- name: Check Dependencies License
4242
run: make dependency-license

.github/workflows/publish-docker.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
- uses: actions/checkout@v2
4141
with:
4242
submodules: true
43-
- name: Set up Go 1.16
43+
- name: Set up Go
4444
uses: actions/setup-go@v2
4545
with:
46-
go-version: 1.16
46+
go-version: 1.18
4747
- name: Log in to the Container registry
4848
uses: docker/login-action@v1.10.0
4949
with:

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
if: steps.changes.outputs.src == 'true'
4242
uses: actions/setup-go@v2
4343
with:
44-
go-version: '1.16'
44+
go-version: '1.18'
4545

4646
- name: run unit tests and report coverage
4747
if: steps.changes.outputs.src == 'true'

.golangci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ linters-settings:
6060
linters:
6161
enable:
6262
- bodyclose
63-
- deadcode
6463
- depguard
6564
- dogsled
6665
- dupl
@@ -80,13 +79,11 @@ linters:
8079
- misspell
8180
- nakedret
8281
- staticcheck
83-
- structcheck
8482
- stylecheck
8583
- typecheck
8684
- unconvert
8785
- unparam
8886
- unused
89-
- varcheck
9087
- whitespace
9188

9289
service:

.licenserc.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,3 @@ header:
3838
dependency:
3939
files:
4040
- go.mod
41-
licenses:
42-
- name: github.com/kr/logfmt
43-
license: MIT
44-
- name: github.com/pascaldekloe/goe
45-
license: CC0-1.0
46-
- name: github.com/chzyer/logex
47-
license: MIT

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
FROM golang:1.16 AS builder
16+
FROM golang:1.18 AS builder
1717

1818
ARG VERSION
1919

assets/templates/dashboard/global.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -68,25 +68,3 @@ metrics:
6868
topN: 10
6969
order: "DES"
7070
title: " Slow Endpoints (ms) "
71-
72-
# Global response latency.
73-
responseLatency:
74-
condition:
75-
name: "all_percentile"
76-
entity:
77-
scope: "All"
78-
normal: true
79-
relabels: "P50,P75,P90,P95,P99"
80-
labels: "0,1,2,3,4"
81-
title: "Global Response Latency"
82-
unit: "percentile in ms"
83-
84-
# Global heat map.
85-
heatMap:
86-
condition:
87-
name: "all_heatmap"
88-
entity:
89-
scope: "All"
90-
normal: true
91-
title: "Global Heatmap"
92-
unit: "ms"

0 commit comments

Comments
 (0)