diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5fe6a11..515d613 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.26 - name: Build run: make - name: Test diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index bdfa495..0a1d3dc 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.26' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v3 @@ -27,7 +27,7 @@ jobs: # Require: The version of golangci-lint to use. # When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version. # When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit. - version: v1.53 + version: latest # Optional: working directory, useful for monorepos # working-directory: somedir diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 02146f0..0ec6428 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.26 - name: Log in to the Container registry uses: docker/login-action@v1 with: diff --git a/cmd/shibesbot/main.go b/cmd/shibesbot/main.go index 86bbc1d..6919839 100644 --- a/cmd/shibesbot/main.go +++ b/cmd/shibesbot/main.go @@ -19,7 +19,7 @@ import ( "github.com/codeinuit/shibesbot/pkg/logger/logrus" "github.com/bwmarrin/discordgo" - "github.com/robfig/cron/v3" + cron "github.com/robfig/cron/v3" ) // ENV variables diff --git a/pkg/cache/redis/redis.go b/pkg/cache/redis/redis.go index 255b639..bf02fbf 100644 --- a/pkg/cache/redis/redis.go +++ b/pkg/cache/redis/redis.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/redis/go-redis/v9" + redis "github.com/redis/go-redis/v9" ) type RedisDB struct {