Skip to content

Commit

Permalink
fix(deps): update go to version 1.21 and compose-spec/go to 1.20.2
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
  • Loading branch information
89luca89 authored and pascalbreuninger committed Apr 10, 2024
1 parent 66561b0 commit 5cec8a2
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 44 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20.5
go-version: 1.21.8

- name: Set up kind k8s cluster
uses: engineerd/setup-kind@v0.5.0
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20.5
go-version: 1.21.8

- name: Build binary and copy to the E2E directory
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-win-full-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20.5
go-version: 1.21.8

- name: Build binary and copy to the E2E directory
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.20.5"
go-version: "1.21.8"
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
- name: Go setup
uses: actions/setup-go@v2
with:
go-version: 1.20.5
go-version: 1.21.8

- name: Build Sidecar CLI
if: matrix.settings.host != 'windows-latest'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:
group: unit-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

jobs:
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.5
go-version: 1.21.8

- name: Test
run: ./hack/unit-tests.sh
run: ./hack/unit-tests.sh
27 changes: 15 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
module github.com/loft-sh/devpod

go 1.20
go 1.21

toolchain go1.21.8

require (
github.com/PaesslerAG/jsonpath v0.1.1
github.com/alessio/shellescape v1.4.1
github.com/blang/semver v3.5.1+incompatible
github.com/bmatcuk/doublestar/v4 v4.6.0
github.com/compose-spec/compose-go v1.11.0
github.com/compose-spec/compose-go v1.20.2
github.com/creack/pty v1.1.18
github.com/docker/cli v23.0.0-rc.1+incompatible
github.com/docker/docker v24.0.5+incompatible
Expand All @@ -34,9 +36,9 @@ require (
github.com/spf13/pflag v1.0.5
github.com/takama/daemon v1.0.0
github.com/tidwall/jsonc v0.3.2
golang.org/x/crypto v0.6.0
golang.org/x/sys v0.6.0
golang.org/x/term v0.6.0
golang.org/x/crypto v0.18.0
golang.org/x/sys v0.16.0
golang.org/x/term v0.16.0
google.golang.org/grpc v1.50.1
google.golang.org/protobuf v1.28.1
gopkg.in/square/go-jose.v2 v2.5.1
Expand All @@ -52,6 +54,7 @@ require (
github.com/containerd/containerd v1.6.20 // indirect
github.com/containerd/fifo v1.1.0 // indirect
github.com/containerd/ttrpc v1.2.2 // indirect
github.com/distribution/reference v0.5.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213 // indirect
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
Expand All @@ -66,6 +69,7 @@ require (
go.opentelemetry.io/otel/sdk v1.4.1 // indirect
go.opentelemetry.io/otel/trace v1.4.1 // indirect
go.opentelemetry.io/proto/otlp v0.12.0 // indirect
golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
)

Expand All @@ -79,7 +83,6 @@ require (
github.com/containerd/continuity v0.3.0 // indirect
github.com/containerd/typeurl v1.0.2 // indirect
github.com/denisbrodbeck/machineid v1.0.1
github.com/distribution/distribution/v3 v3.0.0-20230214150026-36d8c594d7aa // indirect
github.com/docker/distribution v2.8.1+incompatible // indirect
github.com/docker/docker-credential-helpers v0.7.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
Expand All @@ -93,7 +96,7 @@ require (
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
github.com/imdario/mergo v0.3.13 // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/klauspost/compress v1.15.12 // indirect
Expand All @@ -112,12 +115,12 @@ require (
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
golang.org/x/mod v0.9.0 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/text v0.8.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.20.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.7.0 // indirect
golang.org/x/tools v0.17.0 // indirect
google.golang.org/genproto v0.0.0-20220706185917-7780775163c4 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 5cec8a2

Please sign in to comment.