File tree 13 files changed +127
-10
lines changed
13 files changed +127
-10
lines changed Original file line number Diff line number Diff line change 12
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
- FROM golang:1.19 -alpine@sha256:276692412aea6f9dd6cdc5725b2f1c05bef8df7223811afbc6aa16294e2903f9 AS builder
15
+ FROM golang:1.21 -alpine@sha256:3f8e3ad3e7c128d29ac3004ac8314967c5ddbfa5bfa7caa59b0de493fc01686a AS builder
16
16
17
17
# Install dependencies
18
18
RUN apk add --no-cache git bash curl zip
Original file line number Diff line number Diff line change 21
21
branches : [main]
22
22
23
23
env :
24
- GO_VERSION : 1.19
24
+ GO_VERSION : 1.21
25
25
OAPI_CODEGEN_VERSION : v1.12.4
26
26
27
27
jobs :
Original file line number Diff line number Diff line change 28
28
- name : Set up Go 1.x
29
29
uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
30
30
with :
31
- go-version : 1.19
31
+ go-version : 1.21
32
32
- name : Run tests
33
33
run : cd index/server && go test ./... -coverprofile cover.out
34
34
- name : Codecov
Original file line number Diff line number Diff line change 30
30
- name : Setup Go environment
31
31
uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
32
32
with :
33
- go-version : 1.19
33
+ go-version : 1.21
34
34
- name : Login to Quay
35
35
uses : docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
36
36
with :
Original file line number Diff line number Diff line change 2
2
3
3
<div id =" header " >
4
4
5
- ![ Go] ( https://img.shields.io/badge/Go-1.19 -blue )
5
+ ![ Go] ( https://img.shields.io/badge/Go-1.21 -blue )
6
6
[ ![ Apache2.0 License] ( https://img.shields.io/badge/license-Apache2.0-brightgreen.svg )] ( LICENSE )
7
7
[ ![ OpenSSF Best Practices] ( https://www.bestpractices.dev/projects/8257/badge )] ( https://www.bestpractices.dev/projects/8257 )
8
8
[ ![ OpenSSF Scorecard] ( https://api.securityscorecards.dev/projects/github.com/devfile/registry-support/badge )] ( https://securityscorecards.dev/viewer/?uri=github.com/devfile/registry-support )
Original file line number Diff line number Diff line change 1
1
module github.com/devfile/registry-support/index/generator
2
2
3
- go 1.19
3
+ go 1.21
4
4
5
5
require (
6
6
github.com/devfile/api/v2 v2.2.2
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 14
14
# limitations under the License.
15
15
16
16
# Index Server build stage
17
- FROM golang:1.19 -alpine@sha256:276692412aea6f9dd6cdc5725b2f1c05bef8df7223811afbc6aa16294e2903f9 AS index-builder
17
+ FROM golang:1.21 -alpine@sha256:3f8e3ad3e7c128d29ac3004ac8314967c5ddbfa5bfa7caa59b0de493fc01686a AS index-builder
18
18
WORKDIR /tools
19
19
COPY . .
20
20
RUN CGO_ENABLED=0 go build -mod=vendor -o index-server main.go
Original file line number Diff line number Diff line change 1
1
module github.com/devfile/registry-support/index/server
2
2
3
- go 1.19
3
+ go 1.21
4
4
5
5
require (
6
6
github.com/deepmap/oapi-codegen v1.12.4
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 12
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
- FROM golang:1.19 -alpine@sha256:276692412aea6f9dd6cdc5725b2f1c05bef8df7223811afbc6aa16294e2903f9
15
+ FROM golang:1.21 -alpine@sha256:3f8e3ad3e7c128d29ac3004ac8314967c5ddbfa5bfa7caa59b0de493fc01686a
16
16
17
17
WORKDIR /registry-test
18
18
Original file line number Diff line number Diff line change 1
1
module github.com/devfile/registry-support/tests/integration
2
2
3
- go 1.19
3
+ go 1.21
4
4
5
5
require (
6
6
github.com/devfile/library/v2 v2.2.2
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments