Skip to content

Commit

Permalink
feat: update go version, fixed deprecation warns
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <[email protected]>
  • Loading branch information
caarlos0 committed Nov 10, 2022
1 parent 9c2cfed commit 642a2e6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ~1.18
go-version: ~1.19
cache: true
- name: test
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ~1.18
go-version: ~1.19
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: ~1.18
go-version: ~1.19
cache: true
- uses: goreleaser/goreleaser-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/charmbracelet/bubbletea-app-template

go 1.18
go 1.19

require (
github.com/charmbracelet/bubbles v0.14.0
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (m model) View() string {

func main() {
p := tea.NewProgram(initialModel())
if err := p.Start(); err != nil {
if _, err := p.Run(); err != nil {
fmt.Println(err)
os.Exit(1)
}
Expand Down

0 comments on commit 642a2e6

Please sign in to comment.