Skip to content

Commit

Permalink
upgrade to go 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Oct 11, 2024
1 parent e6c8921 commit 0c852d1
Show file tree
Hide file tree
Showing 5 changed files with 150 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: go
uses: actions/setup-go@v5
with:
go-version: 1.16
go-version: 1.23

- name: go info
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
tag: ${{ steps.dockertag.outputs.replaced }}
run: |
docker run --rm lumir/remove-dockerhub-tag --user "$username" --password "$password" saltydk/crs:$tag
docker run --rm lumir/remove-dockerhub-tag --user "$username" --password "$password" saltydk/crs:$tag
4 changes: 2 additions & 2 deletions cmd/crs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import (
"context"
"errors"
"fmt"
"github.com/Cloudbox/crs/build"
"github.com/Cloudbox/crs/web"
"github.com/alecthomas/kong"
"github.com/gin-contrib/cors"
"github.com/gin-gonic/gin"
"github.com/goccy/go-yaml"
"github.com/natefinch/lumberjack"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.com/saltyorg/crs/build"
"github.com/saltyorg/crs/web"
"io"
"net/http"
"os"
Expand Down
61 changes: 41 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,25 +1,46 @@
module github.com/Cloudbox/crs
module github.com/saltyorg/crs

go 1.16
go 1.23

require (
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/alecthomas/kong v0.2.16
github.com/dustin/go-humanize v1.0.0
github.com/gin-contrib/cors v1.3.1
github.com/gin-gonic/gin v1.6.3
github.com/goccy/go-yaml v1.8.9
github.com/golang/protobuf v1.5.1 // indirect
github.com/json-iterator/go v1.1.10 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/Cloudbox/crs v1.0.3
github.com/alecthomas/kong v1.2.1
github.com/dustin/go-humanize v1.0.1
github.com/gin-contrib/cors v1.7.2
github.com/gin-gonic/gin v1.10.0
github.com/goccy/go-yaml v1.12.0
github.com/natefinch/lumberjack v2.0.0+incompatible
github.com/rs/zerolog v1.21.0
github.com/ugorji/go v1.2.4 // indirect
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 // indirect
golang.org/x/sys v0.0.0-20210324051608-47abb6519492 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
github.com/rs/zerolog v1.33.0
)

require (
github.com/bytedance/sonic v1.12.3 // indirect
github.com/bytedance/sonic/loader v0.2.0 // indirect
github.com/cloudwego/base64x v0.1.4 // indirect
github.com/cloudwego/iasm v0.2.0 // indirect
github.com/fatih/color v1.17.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.5 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.22.1 // indirect
github.com/goccy/go-json v0.10.3 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.12 // indirect
golang.org/x/arch v0.11.0 // indirect
golang.org/x/crypto v0.28.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
google.golang.org/protobuf v1.35.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 0c852d1

Please sign in to comment.