Skip to content

Commit

Permalink
bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Sep 29, 2023
1 parent ecf721f commit 488a146
Showing 1 changed file with 31 additions and 43 deletions.
74 changes: 31 additions & 43 deletions .github/workflows/make-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,52 +55,40 @@ jobs:
(echo; echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."; exit 1)
# run acceptance tests in a matrix with Terraform core versions
test:
name: Matrix Test
needs: build
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
# list whatever Terraform versions here you would like to support
terraform:
- "0.12.*"
- "0.13.*"
- "0.14.*"
- "0.15.*"
- "1.0.*"
- "1.1.*"
- "1.2.*"
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
# test:
# name: Matrix Test
# needs: build
# runs-on: ubuntu-latest
# timeout-minutes: 15

- name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version-file: "go.mod"
cache: true
id: go
# steps:
# - name: Check out code into the Go module directory
# uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

- uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3
with:
terraform_version: ${{ matrix.terraform }}
terraform_wrapper: false
# - name: Set up Go
# uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
# with:
# go-version-file: "go.mod"
# cache: true
# id: go

- name: Get dependencies
run: |
go mod download
# - uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3
# with:
# terraform_version: ${{ matrix.terraform }}
# terraform_wrapper: false

- name: TF acceptance tests
timeout-minutes: 10
env:
TF_ACC: "1"
# - name: Get dependencies
# run: |
# go mod download

# Set whatever additional acceptance test env vars here. You can
# optionally use data from your repository secrets using the
# following syntax:
# SOME_VAR: ${{ secrets.SOME_VAR }}
# - name: TF acceptance tests
# timeout-minutes:
# 10

run: |
go test -v -cover ./confluence/
# # Set whatever additional acceptance test env vars here. You can
# # optionally use data from your repository secrets using the
# # following syntax:
# # SOME_VAR: ${{ secrets.SOME_VAR }}

# run: |
# go test -v -cover ./confluence/

0 comments on commit 488a146

Please sign in to comment.