File tree 6 files changed +53
-18
lines changed
6 files changed +53
-18
lines changed Original file line number Diff line number Diff line change 1
1
env :
2
- GO_VERSION : ' 1.20 '
2
+ GO_VERSION : ' 1.23 '
3
3
4
4
name : Meshery NSM
5
5
on :
@@ -17,15 +17,15 @@ jobs:
17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- name : Check out code
20
- uses : actions/checkout@v3
20
+ uses : actions/checkout@master
21
21
with :
22
22
fetch-depth : 1
23
23
- name : Setup Go
24
- uses : actions/setup-go@v4
24
+ uses : actions/setup-go@master
25
25
with :
26
26
go-version : ${{ env.GO_VERSION }}
27
27
- name : golangci-lint
28
- uses : golangci/golangci-lint-action@v3
28
+ uses : golangci/golangci-lint-action@master
29
29
with :
30
30
version : v1.52
31
31
args : --timeout=5m
38
38
with :
39
39
fetch-depth : 1
40
40
- name : Setup Go
41
- uses : actions/setup-go@v4
41
+ uses : actions/setup-go@master
42
42
with :
43
43
go-version : ${{ env.GO_VERSION }}
44
44
- run : go install github.com/kisielk/errcheck@latest; errcheck -tags draft ./...
51
51
with :
52
52
fetch-depth : 1
53
53
- name : Setup Go
54
- uses : actions/setup-go@v4
54
+ uses : actions/setup-go@master
55
55
with :
56
56
go-version : ${{ env.GO_VERSION }}
57
57
- run : go install honnef.co/go/tools/cmd/staticcheck@latest; PKGS=$(go list ./... | grep -vF /meshes); staticcheck -tags draft -checks all $PKGS # https://staticcheck.io/docs/checks
@@ -105,7 +105,7 @@ jobs:
105
105
with :
106
106
fetch-depth : 1
107
107
- name : Setup Go
108
- uses : actions/setup-go@v4
108
+ uses : actions/setup-go@master
109
109
with :
110
110
go-version : ${{ env.GO_VERSION }}
111
111
- run : go build .
Original file line number Diff line number Diff line change 1
1
env :
2
- GO_VERSION : 1.20
2
+ GO_VERSION : 1.23
3
3
4
4
name : Meshkit Error Codes Utility Runner
5
5
on :
12
12
jobs :
13
13
error-ref :
14
14
name : Error codes utility
15
- if : github.repository == 'meshery/meshery-nsm'
15
+ if : github.repository == 'meshery-extensions /meshery-nsm'
16
16
runs-on : ubuntu-latest
17
17
steps :
18
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@master
19
19
# token here with write access to nsm repo
20
20
with :
21
21
token : ${{ secrets.GH_ACCESS_TOKEN }}
22
22
ref : ' master'
23
23
24
24
- name : Setup Go
25
- uses : actions/setup-go@v1
25
+ uses : actions/setup-go@master
26
26
with :
27
27
go-version : ${{ env.GO_VERSION }}
28
28
32
32
go run github.com/layer5io/meshkit/cmd/errorutil -d . update --skip-dirs meshery -i ./helpers -o ./helpers
33
33
# to update errorutil* files in meshkit repo
34
34
- name : Commit changes
35
- uses : stefanzweifel/git-auto-commit-action@v4
35
+ uses : stefanzweifel/git-auto-commit-action@master
36
36
with :
37
37
commit_user_name : l5io
38
38
commit_user_email :
[email protected]
43
43
44
44
# to push changes to meshery docs
45
45
- name : Checkout meshery
46
- uses : actions/checkout@v2
46
+ uses : actions/checkout@master
47
47
with :
48
48
repository : " meshery/meshery"
49
49
# token with write access to meshery repository
56
56
echo '{ "errors_export": "" }' | jq --slurpfile export ./helpers/errorutil_errors_export.json '.errors_export = $export[0]' > ./meshery/docs/_data/errorref/nsm_errors_export.json
57
57
58
58
- name : Commit changes
59
- uses : stefanzweifel/git-auto-commit-action@v4
59
+ uses : stefanzweifel/git-auto-commit-action@master
60
60
with :
61
61
repository : ./meshery
62
62
commit_user_name : l5io
Original file line number Diff line number Diff line change 1
- FROM golang:1.20 as builder
1
+ FROM golang:1.23 as builder
2
2
3
3
ARG VERSION
4
4
ARG GIT_COMMITSHA
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ proto:
14
14
protoc -I meshes/ meshes/meshops.proto --go_out=plugins=grpc:./meshes/
15
15
16
16
docker :
17
- docker build -t layer5 /meshery-nsm .
17
+ docker build -t meshery /meshery-nsm .
18
18
19
19
docker-run :
20
20
(docker rm -f meshery-nsm) || true
21
21
docker run --name meshery-nsm -d \
22
22
-p 10004:10004 \
23
23
-e DEBUG=true \
24
- layer5 /meshery-nsm
24
+ meshery /meshery-nsm
25
25
26
26
run :
27
27
DEBUG=true go run main.go
Original file line number Diff line number Diff line change 1
1
module github.com/layer5io/meshery-nsm
2
2
3
- go 1.20
3
+ go 1.23
4
4
5
5
replace (
6
6
github.com/kudobuilder/kuttl => github.com/layer5io/kuttl v0.4.1-0.20200723152044-916f10574334
You can’t perform that action at this time.
0 commit comments