Skip to content

Commit

Permalink
Merge pull request #15 from jpower432/ci/fix-goreleaser-v1
Browse files Browse the repository at this point in the history
ci: adds fixes to support release and dependency updates for v1
  • Loading branch information
jpower432 authored Feb 3, 2025
2 parents 092a259 + 8599eca commit da9f5c3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: v1.22
go-version-file: './go.mod'
- name: Linting and formatting
run: |
go mod tidy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: v1.19
go-version: v1.23
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Delete non-semver tags
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/oscal-compass/compliance-to-policy-go

go 1.22.0
go 1.23.0

require (
github.com/go-git/go-git/v5 v5.12.0
Expand Down
3 changes: 3 additions & 0 deletions pkg/testdata/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module testdata

go 1.23

0 comments on commit da9f5c3

Please sign in to comment.