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

upgrade dockerfile to go1.24rc1 #88

Merged
merged 3 commits into from
Jan 3, 2025
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
22 changes: 0 additions & 22 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,3 @@ jobs:

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

- name: Start LocalStack
uses: LocalStack/setup-localstack@main
with:
image-tag: 'latest'
install-awslocal: 'true'
use-pro: 'true'
env:
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}

- name: Setup aws credentials
run: |
mkdir -p ~/.aws
echo "[default]" > ~/.aws/credentials
echo "aws_access_key_id = localstack" >> ~/.aws/credentials
echo "aws_secret_access_key = localstack" >> ~/.aws/credentials
echo "region = us-east-1" >> ~/.aws/credentials

- name: Test
run: go test -v ./...
env:
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.2
FROM golang:1.24rc1

WORKDIR /telophasecli

Expand Down
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if command -v brew &> /dev/null; then
elif [ "$(uname)" = "Linux" ]; then
if [ -f /etc/debian_version ]; then
echo "Debian-based Linux detected. Installing packages with apt."
sudo apt update && sudo apt install -y awscli
sudo snap install aws-cli --classic
pip3 install awscli-local
pip3 install terraform-local
sudo snap install terraform --classic
Expand Down
Loading