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

SCALRCORE-32265 Agent > Update Go dependencies #29

Merged
merged 1 commit into from
Sep 9, 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
2 changes: 1 addition & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.22.3"
go-version: "1.22.7"

- name: Install dependencies
run: |
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/Scalr/pygohcl

go 1.22.3
go 1.22

require (
github.com/hashicorp/hcl/v2 v2.22.0
Expand Down
5 changes: 2 additions & 3 deletions pre-build-command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ case $ARCH in
*arm64) ARCH="arm64" ;;
*aarch64) ARCH="arm64" ;;
esac
curl "https://storage.googleapis.com/golang/go1.22.3.${OS}-${ARCH}.tar.gz" --silent --location | tar -xz
curl "https://storage.googleapis.com/golang/go1.22.7.${OS}-${ARCH}.tar.gz" --silent --location | tar -xz
export PATH="$(pwd)/go/bin:$PATH"

echo "OS: $(uname -a)"
echo "GO=go1.22.3.${OS}-${ARCH}.tar.gz"
echo "GO=go1.22.7.${OS}-${ARCH}.tar.gz"
echo "ARCH=$ARCH"
echo "PATH=$PATH"

Loading