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

fix: update GitHub Actions workflows #57

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ jobs:
AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
AWS_DEFAULT_REGION: us-east-1
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: hashicorp/setup-terraform@v1
with:
terraform_version: 0.12.24
terraform_version: 1.0.2
- run: terraform fmt -check -recursive
- run: terraform init
- run: terraform validate
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jobs:
release:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: cycjimmy/semantic-release-action@v2.1.3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ jobs:
AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
AWS_DEFAULT_REGION: us-east-1
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ^1.14.2
- uses: actions/cache@v1
go-version: ^1.16
- uses: actions/cache@v2
with:
key: "${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}"
path: ~/go/pkg/mod
restore-keys: |
${{ runner.os }}-go-
- uses: hashicorp/setup-terraform@v1
with:
terraform_version: 0.12.24
terraform_version: 1.0.2
terraform_wrapper: false
- run: go test -count=1 -timeout=45m ./...
name: Run Terratest
Expand Down
37 changes: 37 additions & 0 deletions .terraform.lock.hcl

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

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
output "container_definitions" {
value = "${module.merged.container_definitions}"
value = module.merged.container_definitions
}
15 changes: 4 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
module terraform-aws-ecs-task-definition
module github.com/mongodb/terraform-aws-ecs-task-definition

go 1.13
go 1.16

require (
github.com/aws/aws-sdk-go v1.25.26 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-sql-driver/mysql v1.4.1 // indirect
github.com/google/uuid v1.1.1 // indirect
github.com/gruntwork-io/terratest v0.14.2
github.com/pquerna/otp v1.2.0 // indirect
github.com/stretchr/testify v1.3.0
golang.org/x/sys v0.0.0-20190306155319-3e9a981b8ddb // indirect
google.golang.org/appengine v1.6.5 // indirect
github.com/gruntwork-io/terratest v0.36.5
github.com/stretchr/testify v1.7.0
)
Loading