File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ jobs:
1414 name : Run gofmt
1515 runs-on : ubuntu-latest
1616 steps :
17- - name : Set up Go 1.20
17+ - name : Set up Go 1.22
1818 uses : actions/setup-go@v2
1919 with :
20- go-version : ' 1.20 '
20+ go-version : ' 1.22 '
2121 id : go
2222
2323 - name : Check out code into the Go module directory
2626 - uses : actions/cache@v2
2727 with :
2828 path : ~/go/pkg/mod
29- key : ${{ runner.os }}-gofmt1.20 -${{ hashFiles('**/go.sum') }}
29+ key : ${{ runner.os }}-gofmt1.22 -${{ hashFiles('**/go.sum') }}
3030 restore-keys : |
31- ${{ runner.os }}-gofmt1.20 -
31+ ${{ runner.os }}-gofmt1.22 -
3232
3333 - name : Install goimports
3434 run : |
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ jobs:
1717 name : Build and test on Ubuntu
1818 runs-on : ubuntu-latest
1919 steps :
20- - name : Set up Go 1.20
20+ - name : Set up Go 1.22
2121 uses : actions/setup-go@v2
2222 with :
23- go-version : ' 1.20 '
23+ go-version : ' 1.22 '
2424 id : go
2525
2626 - name : Check out code
2929 - uses : actions/cache@v2
3030 with :
3131 path : ~/go/pkg/mod
32- key : ${{ runner.os }}-go1.20 -${{ hashFiles('**/go.sum') }}
32+ key : ${{ runner.os }}-go1.22 -${{ hashFiles('**/go.sum') }}
3333 restore-keys : |
34- ${{ runner.os }}-go1.20 -
34+ ${{ runner.os }}-go1.22 -
3535
3636 - name : Run unit tests
3737 run : make testvv
Original file line number Diff line number Diff line change 11module github.com/DefinedNet/dnapi
22
3- go 1.20
3+ go 1.22
44
55require (
66 github.com/sirupsen/logrus v1.9.2
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
1818github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
1919github.com/rogpeppe/go-internal v1.9.0 /go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs =
2020github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ =
21+ github.com/rogpeppe/go-internal v1.10.0 /go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog =
2122github.com/sirupsen/logrus v1.9.2 h1:oxx1eChJGI6Uks2ZC4W1zpLlVgqB8ner4EuQwV4Ik1Y =
2223github.com/sirupsen/logrus v1.9.2 /go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ =
2324github.com/slackhq/nebula v1.7.1 h1:+kzPkx9rMXJKj43N7Zcdb+ZsHAX+/u2beS7qPHbWhdw =
@@ -33,6 +34,7 @@ github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o
3334golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g =
3435golang.org/x/crypto v0.9.0 /go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0 =
3536golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M =
37+ golang.org/x/net v0.10.0 /go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg =
3638golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
3739golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU =
3840golang.org/x/sys v0.8.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
You can’t perform that action at this time.
0 commit comments