Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: align go version with docs #1417

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,7 @@ jobs:
- name: mdBook Build
run: mdbook build

current-go-version:
name: Get go.mod version
runs-on: ubuntu-latest
outputs:
version: ${{ steps.parse-mod.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- id: parse-mod
run: |
go_mod_file="go.mod"
while IFS= read -r line; do if [[ $line =~ ^go\ (.*)$ ]]; then go_ver="${BASH_REMATCH[1]}"; fi; done < $go_mod_file
echo "version=$go_ver" >> $GITHUB_OUTPUT

tests:
needs: current-go-version
name: Tests
runs-on: ubuntu-latest
strategy:
Expand All @@ -86,7 +71,6 @@ jobs:
go:
- 'stable'
- 'oldstable'
- '${{ needs.current-go-version.outputs.version }}'
steps:
- name: Check for Previous Run
id: previous
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/quay/claircore

go 1.22.7
go 1.22

require (
github.com/Masterminds/semver v1.5.0
Expand Down
2 changes: 1 addition & 1 deletion toolkit/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/quay/claircore/toolkit

go 1.22.7
go 1.22

require github.com/google/go-cmp v0.6.0
2 changes: 1 addition & 1 deletion updater/driver/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/quay/claircore/updater/driver

go 1.22.7
go 1.22

require (
github.com/google/uuid v1.6.0
Expand Down
Loading