diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7ba47af..f53cf9f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: "1.20" + go-version: "1.21" - name: Lint run: make lint diff --git a/.github/workflows/local-run.yml b/.github/workflows/local-run.yml index 600140b..223c48e 100644 --- a/.github/workflows/local-run.yml +++ b/.github/workflows/local-run.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: "1.20" + go-version: "1.21" - name: Locally run oval with MinIO env: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 540625b..8cbdc77 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: "1.20" + go-version: "1.21" - name: Build run: make diff --git a/Dockerfile b/Dockerfile index 37e9603..3669709 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 -FROM golang:1.20 AS builder +FROM golang:1.21 AS builder WORKDIR /go/src/github.com/ COPY . oval diff --git a/go.mod b/go.mod index b346c1f..945e17b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/peng225/oval -go 1.20 +go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.22.1 diff --git a/go.sum b/go.sum index 76e1814..7e67a87 100644 --- a/go.sum +++ b/go.sum @@ -44,6 +44,7 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/felixge/fgprof v0.9.3 h1:VvyZxILNuCiUCSXtPtYmmtGvb65nqXh2QFWc0Wpf2/g= github.com/felixge/fgprof v0.9.3/go.mod h1:RdbpDgzqYVh/T9fPELJyV7EYJuHB55UTEULNun8eiPw= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/pprof v0.0.0-20211214055906-6f57359322fd/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= github.com/google/pprof v0.0.0-20221219190121-3cb0bae90811 h1:wORs2YN3R3ona/CXYuTvLM31QlgoNKHvlCNuArCDDCU= github.com/google/pprof v0.0.0-20221219190121-3cb0bae90811/go.mod h1:dDKJzRmX4S37WGHujM7tX//fmj1uioxKzKxz3lo4HJo=