Skip to content

Commit 810fc26

Browse files
author
Lucas Yoon
committed
Updating Go modules from 1.21 to 1.24, updated scorecard analysis upoad artifact version
Signed-off-by: Lucas Yoon <[email protected]>
1 parent 26fa21c commit 810fc26

File tree

14 files changed

+23
-23
lines changed

14 files changed

+23
-23
lines changed

.ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
FROM golang:1.21-alpine@sha256:2a1959ca3c229c72fbbee9643b88ef23d7859a7d18b60a0d94ee3d2923b49316 AS builder
15+
FROM golang:1.24-alpine@sha256:daae04ebad0c21149979cd8e9db38f565ecefd8547cf4a591240dc1972cf1399 AS builder
1616

1717
# Allows for the proper yq to be downloaded
1818
# This arg is automatically set if the dockerfile is built with --platform flag

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
branches: [main]
2222

2323
env:
24-
GO_VERSION: 1.21
24+
GO_VERSION: 1.24
2525
OAPI_CODEGEN_VERSION: v1.12.4
2626

2727
jobs:
@@ -62,7 +62,7 @@ jobs:
6262
- name: Run Gosec Security Scanner
6363
run: |
6464
export PATH=$PATH:$(go env GOPATH)/bin
65-
go install github.com/securego/gosec/v2/cmd/gosec@v2.14.0
65+
go install github.com/securego/gosec/v2/cmd/gosec@v2.22.7
6666
bash ./run_gosec.sh
6767
if [[ $? != 0 ]]
6868
then

.github/workflows/codecov.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Go 1.x
2929
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
3030
with:
31-
go-version: 1.21
31+
go-version: 1.24
3232
- name: Run tests
3333
run: cd index/server && go test ./... -coverprofile cover.out
3434
- name: Codecov

.github/workflows/pushimage-next.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Go environment
3131
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
3232
with:
33-
go-version: 1.21
33+
go-version: 1.24
3434
- name: Set up QEMU # Enables arm64 image building
3535
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 #v3.0.0
3636
- name: Login to Quay

.github/workflows/scorecard.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
4646
# format to the repository Actions tab.
4747
- name: "Upload artifact"
48-
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
48+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4949
with:
5050
name: SARIF file
5151
path: results.sarif

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div id="header">
44

5-
![Go](https://img.shields.io/badge/Go-1.21-blue)
5+
![Go](https://img.shields.io/badge/Go-1.24-blue)
66
[![Apache2.0 License](https://img.shields.io/badge/license-Apache2.0-brightgreen.svg)](LICENSE)
77
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8257/badge)](https://www.bestpractices.dev/projects/8257)
88
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/devfile/registry-support/badge)](https://securityscorecards.dev/viewer/?uri=github.com/devfile/registry-support)

index/generator/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/devfile/registry-support/index/generator
22

3-
go 1.21
3+
go 1.24
44

55
require (
66
github.com/devfile/api/v2 v2.3.0

index/server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515

1616
# Index Server build stage
17-
FROM registry.access.redhat.com/ubi8/go-toolset:1.21.13-1.1727869850 AS index-builder
17+
FROM registry.access.redhat.com/ubi8/go-toolset:1.24.4-1754273152@sha256:ddad134f9fe193a6b3c7a87fa73b17e80212cdb0aa10dbd5a7581df96c998f1b AS index-builder
1818
USER root
1919
WORKDIR /tools
2020
COPY . .

index/server/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/devfile/registry-support/index/server
22

3-
go 1.21
3+
go 1.24
44

55
require (
66
github.com/deepmap/oapi-codegen v1.12.4

oci-registry/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
FROM registry.access.redhat.com/ubi8/go-toolset:1.23.6-1.1744600118 as registry
15+
FROM registry.access.redhat.com/ubi8/go-toolset:1.24.4-1754273152@sha256:ddad134f9fe193a6b3c7a87fa73b17e80212cdb0aa10dbd5a7581df96c998f1b as registry
1616
ARG PKG="github.com/docker/distribution"
1717
ARG PKG_VERSION="v2.8.3"
1818
ENV GOPATH=/go

0 commit comments

Comments
 (0)