Skip to content

Commit

Permalink
Merge pull request #10 from seqsense/kamatama41-patch-1
Browse files Browse the repository at this point in the history
Support Apple Silicon Mac
  • Loading branch information
kamatama41 authored Mar 31, 2022
2 parents 5cbef8f + 30ab0dd commit 06949b7
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 24 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v3
- name: prepare test data
run: |
sed 's/3\.35\.0/3.36.0/' -i test/versions.tf
sed 's/4\.7\.0/4.8.0/' -i test/versions.tf
git add test/versions.tf
git config user.name "Dummy"
git config user.email "[email protected]"
Expand All @@ -27,7 +27,7 @@ jobs:
push: no
- name: validate
run: |
grep 'version = "3.36.0"' test/.terraform.lock.hcl
grep 'constraints = "3.36.0"' test/.terraform.lock.hcl
! grep 'version = "3.35.0"' test/.terraform.lock.hcl
! grep 'constraints = "3.35.0"' test/.terraform.lock.hcl
grep 'version = "4.8.0"' test/.terraform.lock.hcl
grep 'constraints = "4.8.0"' test/.terraform.lock.hcl
! grep 'version = "4.7.0"' test/.terraform.lock.hcl
! grep 'constraints = "4.7.0"' test/.terraform.lock.hcl
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ git config user.name ${INPUT_GIT_USER}
git config user.email ${INPUT_GIT_EMAIL}

INPUT_LOCK_FILE_PATHS=${INPUT_LOCK_FILE_PATHS:-$(find . -name .terraform.lock.hcl | xargs -r -n1 dirname)}
INPUT_PLATFORMS=${INPUT_PLATFORMS:-"windows_amd64 darwin_amd64 linux_amd64"}
INPUT_PLATFORMS=${INPUT_PLATFORMS:-"windows_amd64 darwin_amd64 darwin_arm64 linux_amd64"}
platform_opts=""
for platform in ${INPUT_PLATFORMS}
do
Expand Down
2 changes: 1 addition & 1 deletion test/.terraform-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.15.3
1.1.7
34 changes: 18 additions & 16 deletions test/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "3.35.0"
version = "4.7.0"
}
}
required_version = ">= 0.14"
Expand Down

0 comments on commit 06949b7

Please sign in to comment.