Skip to content

Commit

Permalink
Bump to Go 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
JenswBE committed Sep 3, 2024
1 parent d0debd3 commit 6582d86
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.23"
cache-dependency-path: src/go.sum

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ sudo apt install -y libasound2-dev
# Install Go
# Update below to latest version at https://go.dev/dl/
# See https://go.dev/doc/install for official instructions
GO_URL="https://go.dev/dl/go1.22.0.linux-arm64.tar.gz"
GO_URL="https://go.dev/dl/go1.23.0.linux-arm64.tar.gz"
wget -O go.linux-arm64.tar.gz "${GO_URL:?}"
sudo rm -rf /usr/local/go ~/go || true # Removes old install
sudo tar -C /usr/local -xzf go.linux-arm64.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions src/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/JenswBE/sunrise-alarm/src

go 1.22
go 1.23.0

require (
github.com/JenswBE/golang-tsl2591 v0.0.0-20221208210240-073a36b2ade3
Expand All @@ -14,7 +14,6 @@ require (
github.com/spf13/viper v1.19.0
github.com/stianeikeland/go-rpio/v4 v4.6.0
github.com/stretchr/testify v1.9.0
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
)

require (
Expand Down Expand Up @@ -57,6 +56,7 @@ require (
go.uber.org/multierr v1.9.0 // indirect
golang.org/x/arch v0.8.0 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.16.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion src/utils/pubsub/eventbus.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
package pubsub

import (
"slices"
"sync"

"github.com/rs/zerolog/log"
"golang.org/x/exp/slices"
)

// EventBus is an in-memory pub/sub service based on channels.
Expand Down

0 comments on commit 6582d86

Please sign in to comment.