Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nao1215 committed Jan 8, 2024
1 parent 38db0c2 commit 5a3dc23
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 33 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/linux_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,11 @@ jobs:
- name: Download dependencies
run: go mod download

- name: Set up AWS credentials
- name: Set up AWS config and AWS credentials
run: |
echo "[default]" > "$HOME/.aws/credentials"
echo "aws_access_key_id=${{ secrets.AWS_ACCESS_KEY_ID }}" >> "$HOME/.aws/credentials"
echo "aws_secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> "$HOME/.aws/credentials"
- name: Set up AWS config
run: |
echo "[default]" > "$HOME/.aws/config"
echo "region=us-east-1" >> "$HOME/.aws/config"
echo "output=json" >> "$HOME/.aws/config"
echo "endpoint_url=http://localhost:4566" >> "$HOME/.aws/config"
mkdir -p "$HOME/.aws"
echo -e "[default]\naws_access_key_id=${{ secrets.AWS_ACCESS_KEY_ID }}\naws_secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" > "$HOME/.aws/credentials"
echo -e "[default]\nregion=us-east-1\noutput=json\nendpoint_url=http://localhost:4566" > "$HOME/.aws/config"
- uses: nao1215/actions-hottest@v1
with:
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/mac_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,11 @@ jobs:
- name: Download dependencies
run: go mod download

- name: Set up AWS credentials
- name: Set up AWS config and AWS credentials
run: |
echo "[default]" > "$HOME/.aws/credentials"
echo "aws_access_key_id=${{ secrets.AWS_ACCESS_KEY_ID }}" >> "$HOME/.aws/credentials"
echo "aws_secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> "$HOME/.aws/credentials"
- name: Set up AWS config
run: |
echo "[default]" > "$HOME/.aws/config"
echo "region=us-east-1" >> "$HOME/.aws/config"
echo "output=json" >> "$HOME/.aws/config"
echo "endpoint_url=http://localhost:4566" >> "$HOME/.aws/config"
mkdir -p "$HOME/.aws"
echo -e "[default]\naws_access_key_id=${{ secrets.AWS_ACCESS_KEY_ID }}\naws_secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" > "$HOME/.aws/credentials"
echo -e "[default]\nregion=us-east-1\noutput=json\nendpoint_url=http://localhost:4566" > "$HOME/.aws/config"
- name: Run unit test
run: |
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/windows_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,11 @@ jobs:
- name: Download dependencies
run: go mod download

- name: Set up AWS credentials
- name: Set up AWS config and AWS credentials
run: |
echo "[default]" > "$HOME/.aws/credentials"
echo "aws_access_key_id=${{ secrets.AWS_ACCESS_KEY_ID }}" >> "$HOME/.aws/credentials"
echo "aws_secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> "$HOME/.aws/credentials"
- name: Set up AWS config
run: |
echo "[default]" > "$HOME/.aws/config"
echo "region=us-east-1" >> "$HOME/.aws/config"
echo "output=json" >> "$HOME/.aws/config"
echo "endpoint_url=http://localhost:4566" >> "$HOME/.aws/config"
mkdir -p "$HOME/.aws"
echo -e "[default]\naws_access_key_id=${{ secrets.AWS_ACCESS_KEY_ID }}\naws_secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" > "$HOME/.aws/credentials"
echo -e "[default]\nregion=us-east-1\noutput=json\nendpoint_url=http://localhost:4566" > "$HOME/.aws/config"
- name: Run unit test
run: |
Expand Down

0 comments on commit 5a3dc23

Please sign in to comment.