forked from jdamata/terraform-provider-sonarqube
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move actions to use SHA for consistency
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,23 +15,23 @@ jobs: | |
name: tfplugindocs generate | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.1 | ||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | ||
with: | ||
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token | ||
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | ||
with: | ||
go-version-file: tools/go.mod | ||
- name: GOCACHE | ||
run: | | ||
echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV | ||
- uses: actions/cache@v4.0.2 | ||
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 | ||
continue-on-error: true | ||
timeout-minutes: 2 | ||
with: | ||
path: ${{ env.GOCACHE }} | ||
key: ${{ runner.os }}-GOCACHE-${{ hashFiles('go.sum') }}-${{ hashFiles('internal/**') }} | ||
- uses: actions/cache@v4.0.2 | ||
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 | ||
continue-on-error: true | ||
timeout-minutes: 2 | ||
with: | ||
|
@@ -40,7 +40,7 @@ jobs: | |
- run: | | ||
make tools | ||
make docs | ||
- uses: actions-js/[email protected] | ||
- uses: actions-js/push@5a7cbd780d82c0c937b5977586e641b2fd94acc5 #v1.5 | ||
name: Github commit and push | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|