diff --git a/.github/workflows/acctest-terraform-lint.yml b/.github/workflows/acctest-terraform-lint.yml index d6ad542d3a8..add960812b3 100644 --- a/.github/workflows/acctest-terraform-lint.yml +++ b/.github/workflows/acctest-terraform-lint.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: @@ -52,7 +52,7 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 6efd1ac737e..10b42205283 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -61,7 +61,7 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index b6e510fd46a..b13409d5ff6 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -41,7 +41,7 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index b78732eb591..189c26462e8 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }} diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index ef83963a9b9..b9758fe9bf5 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: diff --git a/.github/workflows/terraform_provider.yml b/.github/workflows/terraform_provider.yml index cdcd1e63e4e..c428de74ac9 100644 --- a/.github/workflows/terraform_provider.yml +++ b/.github/workflows/terraform_provider.yml @@ -39,7 +39,7 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true id: cache-go-pkg-mod timeout-minutes: 2 @@ -55,7 +55,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true id: cache-terraform-plugin-dir timeout-minutes: 2 @@ -72,12 +72,12 @@ jobs: run: | echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV - if: steps.cache-terraform-plugin-dir.outputs.cache-hit != 'true' || steps.cache-terraform-plugin-dir.outcome == 'failure' - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ env.GOCACHE }} key: ${{ runner.os }}-GOCACHE-${{ hashFiles('go.sum') }}-${{ hashFiles('aws/**') }} - if: steps.cache-terraform-plugin-dir.outputs.cache-hit != 'true' || steps.cache-terraform-plugin-dir.outcome == 'failure' - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }} @@ -91,7 +91,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true id: cache-terraform-providers-schema timeout-minutes: 2 @@ -99,7 +99,7 @@ jobs: path: terraform-providers-schema key: ${{ runner.os }}-terraform-providers-schema-${{ hashFiles('go.sum') }}-${{ hashFiles('aws/**') }} - if: steps.cache-terraform-providers-schema.outputs.cache-hit != 'true' || steps.cache-terraform-providers-schema.outcome == 'failure' - uses: actions/cache@v2 + uses: actions/cache@v3 timeout-minutes: 2 with: path: terraform-plugin-dir @@ -133,13 +133,13 @@ jobs: - name: go env run: | echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: path: ${{ env.GOCACHE }} key: ${{ runner.os }}-GOCACHE-${{ hashFiles('go.sum') }}-${{ hashFiles('aws/**') }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: @@ -162,13 +162,13 @@ jobs: - name: go env run: | echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: path: ${{ env.GOCACHE }} key: ${{ runner.os }}-GOCACHE-${{ hashFiles('go.sum') }}-${{ hashFiles('aws/**') }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: @@ -193,13 +193,13 @@ jobs: - name: go env run: | echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: path: ${{ env.GOCACHE }} key: ${{ runner.os }}-GOCACHE-${{ hashFiles('go.sum') }}-${{ hashFiles('aws/**') }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: @@ -219,13 +219,13 @@ jobs: - name: go env run: | echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: path: ${{ env.GOCACHE }} key: ${{ runner.os }}-GOCACHE-${{ hashFiles('go.sum') }}-${{ hashFiles('aws/**') }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: @@ -247,13 +247,13 @@ jobs: - name: go env run: | echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: path: ${{ env.GOCACHE }} key: ${{ runner.os }}-GOCACHE-${{ hashFiles('go.sum') }}-${{ hashFiles('aws/**') }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: @@ -270,7 +270,7 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: @@ -303,14 +303,14 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }} - run: cd tools && go install github.com/bflad/tfproviderdocs - - uses: actions/cache@v2 + - uses: actions/cache@v3 timeout-minutes: 2 with: path: terraform-providers-schema diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index d3729248912..16e896d5a48 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -55,7 +55,7 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: @@ -70,7 +70,7 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: @@ -85,7 +85,7 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 continue-on-error: true timeout-minutes: 2 with: