File tree Expand file tree Collapse file tree 5 files changed +32
-573
lines changed Expand file tree Collapse file tree 5 files changed +32
-573
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,17 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v3
1414 with :
1515 fetch-depth : 0
1616
1717 - name : Set up Go
18- uses : actions/setup-go@v2
18+ uses : actions/setup-go@v3
1919 with :
20- go-version : 1.17 .x
20+ go-version : 1.19 .x
2121
2222 - name : Run GoReleaser
23- uses : goreleaser/goreleaser-action@v2
23+ uses : goreleaser/goreleaser-action@v3
2424 with :
2525 version : latest
2626 workdir : ./cmd/wifiqr
Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 strategy :
99 matrix :
10- go-version : [1.17.x ]
10+ go-version : [1.19 ]
1111 steps :
1212 - name : Setup Go
13- uses : actions/setup-go@v2
13+ uses : actions/setup-go@v3
1414 with :
1515 go-version : ${{ matrix.go-version }}
16+
1617 - name : Checkout code
17- uses : actions/checkout@v2
18+ uses : actions/checkout@v3
19+
1820 - name : Run coverage
1921 run : go test . -coverprofile=coverage.out -covermode=atomic
22+
2023 - name : Upload coverage to Codecov
2124 run : bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 strategy :
99 matrix :
10- go-version : [1.16.x , 1.17.x ]
10+ go-version : [1.18 , 1.19 ]
1111 steps :
1212 - name : Setup Go
13- uses : actions/setup-go@v2
13+ uses : actions/setup-go@v3
1414 with :
1515 go-version : ${{ matrix.go-version }}
16+
1617 - name : Checkout code
17- uses : actions/checkout@v2
18+ uses : actions/checkout@v3
19+
1820 - name : Test
1921 run : go test ./...
Original file line number Diff line number Diff line change 11module github.com/reugn/wifiqr
22
3- go 1.15
3+ go 1.18
44
55require (
66 github.com/manifoldco/promptui v0.9.0
77 github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
8- github.com/spf13/cobra v1.2.1
8+ github.com/spf13/cobra v1.6.0
9+ )
10+
11+ require (
12+ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
13+ github.com/inconshreveable/mousetrap v1.0.1 // indirect
14+ github.com/spf13/pflag v1.0.5 // indirect
15+ golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b // indirect
916)
You can’t perform that action at this time.
0 commit comments