Skip to content

Commit 642a2e6

Browse files
committed
feat: update go version, fixed deprecation warns
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
1 parent 9c2cfed commit 642a2e6

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-go@v3
1616
with:
17-
go-version: ~1.18
17+
go-version: ~1.19
1818
cache: true
1919
- name: test
2020
run: |

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-go@v3
1616
with:
17-
go-version: ~1.18
17+
go-version: ~1.19
1818
cache: true
1919
- name: golangci-lint
2020
uses: golangci/golangci-lint-action@v3

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121
- uses: actions/setup-go@v3
2222
with:
23-
go-version: ~1.18
23+
go-version: ~1.19
2424
cache: true
2525
- uses: goreleaser/goreleaser-action@v3
2626
with:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/charmbracelet/bubbletea-app-template
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/charmbracelet/bubbles v0.14.0

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (m model) View() string {
6868

6969
func main() {
7070
p := tea.NewProgram(initialModel())
71-
if err := p.Start(); err != nil {
71+
if _, err := p.Run(); err != nil {
7272
fmt.Println(err)
7373
os.Exit(1)
7474
}

0 commit comments

Comments
 (0)