Skip to content

Commit fb45780

Browse files
authored
Merge pull request #34 from CycloneDX/pin-cdx-gomod
Bump CI actions go versions
2 parents 5b80516 + 133f364 commit fb45780

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v3
1818
with:
19-
go-version: 1.18
19+
go-version: 1.21
2020

2121
- name: Build
2222
run: go build -v ./...

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242

4343
# Generate an SBOM
4444
- name: Set up Go
45-
uses: actions/setup-go@v3
45+
uses: actions/setup-go@v5
4646
with:
47-
go-version: 1.18
47+
go-version: 1.21
4848
- name: Install SBOM generator (latest)
4949
run: go install github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@v1.7.0
5050
- name: Generate SBOM (from `go.mod`)

0 commit comments

Comments
 (0)