Skip to content

Commit

Permalink
Update toolchain min version to Go 1.22
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
  • Loading branch information
austinvazquez committed Aug 27, 2024
1 parent a0a2671 commit e8636bc
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark_visualization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
deployments: write

env:
GO_VERSION: '1.21.12'
GO_VERSION: '1.22.6'

jobs:
benchmark:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
- 'scripts/**'

env:
GO_VERSION: '1.21.12'
GO_VERSION: '1.22.6'

jobs:
setup:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
GO_VERSION: '1.21.12'
GO_VERSION: '1.22.6'

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/comparision-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- cron: "0 0 */2 * *" # every 2 days

env:
GO_VERSION: '1.21.12'
GO_VERSION: '1.22.6'

jobs:
check:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: ['main', 'release/**']

env:
GO_VERSION: '1.21.12'
GO_VERSION: '1.22.6'
GOLANGCI_LINT_VERSION: '1.56.2'

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- 'Makefile'

env:
GO_VERSION: '1.21.12'
GO_VERSION: '1.22.6'

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ARG NERDCTL_VERSION=1.7.1

FROM public.ecr.aws/docker/library/registry:3.0.0-alpha.1 AS registry

FROM public.ecr.aws/docker/library/golang:1.21.13-alpine AS containerd-snapshotter-base
FROM public.ecr.aws/docker/library/golang:1.22.6-alpine AS containerd-snapshotter-base

ARG CONTAINERD_VERSION
ARG RUNC_VERSION
Expand Down
2 changes: 1 addition & 1 deletion cmd/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/awslabs/soci-snapshotter/cmd

go 1.21
go 1.22

require (
github.com/awslabs/soci-snapshotter v0.0.0-local
Expand Down
2 changes: 1 addition & 1 deletion docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ to install them on your machine:
> have their own dependencies (e.g., containerd depends on runc/cni). Please refer
> to their doc for a complete installation guide (mainly containerd).
- **[go](https://go.dev/doc/install) >= 1.21** - required to build the project;
- **[go](https://go.dev/doc/install) >= 1.22** - required to build the project;
to confirm please check with `go version`.
- **[containerd](https://github.com/containerd/containerd/blob/main/docs/getting-started.md) >= 1.4** -
required to run the SOCI snapshotter; to confirm please check with `sudo containerd --version`.
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/awslabs/soci-snapshotter

go 1.21
go 1.22

require (
github.com/containerd/containerd v1.7.20
Expand Down
2 changes: 1 addition & 1 deletion go.work.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.21
go 1.22

use (
.
Expand Down

0 comments on commit e8636bc

Please sign in to comment.