From dbb4c7aaf463d7ebff20c81e42ba97ffca992503 Mon Sep 17 00:00:00 2001 From: "hashicorp-tsccr[bot]" Date: Fri, 21 Apr 2023 12:06:01 +0100 Subject: [PATCH] Result of tsccr-helper -pin-all-workflows . --- .github/workflows/go-getter.yml | 20 ++++++++++---------- .github/workflows/release.yml | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/go-getter.yml b/.github/workflows/go-getter.yml index 8528105af..41c160767 100644 --- a/.github/workflows/go-getter.yml +++ b/.github/workflows/go-getter.yml @@ -20,19 +20,19 @@ jobs: contents: read steps: - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Create test directory run: | mkdir -p ${{ env.TEST_RESULTS_PATH }} - name: Setup cache for go modules - uses: actions/cache@v3 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 with: path: | ~/.cache/go-build @@ -59,7 +59,7 @@ jobs: run: go install gotest.tools/gotestsum@v1.8.2 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0 with: aws-region: us-east-1 role-to-assume: arn:aws:iam::388664967494:role/hc-go-getter-test @@ -82,7 +82,7 @@ jobs: # Save coverage report parts - name: Upload and save artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 with: name: linux test results path: linux_cov.part @@ -103,15 +103,15 @@ jobs: run: git config --global core.autocrlf false - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Setup cache for go modules - uses: actions/cache@v3 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 with: path: | ~\AppData\Local\go-build @@ -128,7 +128,7 @@ jobs: run: go install gotest.tools/gotestsum@v1.8.2 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0 with: aws-region: us-east-1 role-to-assume: arn:aws:iam::388664967494:role/hc-go-getter-test @@ -152,7 +152,7 @@ jobs: # Save coverage report parts - name: Upload and save artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 with: name: windows test results path: win_cov.part \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36d7430f5..9030e1fa2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 with: fetch-depth: 0 - name: Setup go - uses: actions/setup-go@v2 + uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version: '^1.15' - name: Setup signore @@ -46,7 +46,7 @@ jobs: VERSION: 1.6.4 SHA256SUM: 3ad66eebd443d32dd6c811dcf2d264b78678c75ed1d40c15434180d4453e60d2 - name: GitHub Release - uses: goreleaser/goreleaser-action@v1 + uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v4.2.0 with: version: latest args: release --skip-validate --timeout "60m"