@@ -52,13 +52,13 @@ jobs:
5252 - name : Create GitHub App installation token
5353 id : checkout-app
5454 if : steps.secrets.outputs.CHECKOUT_APP_ID == 'true' && steps.secrets.outputs.CHECKOUT_PRIVATE_KEY == 'true'
55- uses : actions/create-github-app-token@v2
55+ uses : actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
5656 with :
5757 app-id : ${{ secrets.CHECKOUT_APP_ID }}
5858 private-key : ${{ secrets.CHECKOUT_PRIVATE_KEY }}
5959 owner : ${{ github.repository_owner }}
6060 - name : Check out the repository
61- uses : actions/checkout@v5
61+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6262 with :
6363 submodules : recursive
6464 token : ${{ steps.checkout-app.outputs.token || secrets.CHECKOUT_TOKEN || github.token }}
@@ -77,20 +77,20 @@ jobs:
7777 fi
7878 - name : Check out the latest stable version of Go
7979 id : stable
80- uses : actions/setup-go@v6
80+ uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
8181 with :
8282 go-version : stable
8383 cache : false
8484 - name : Read the Unified GitHub Workflows configuration
8585 id : config
86- uses : ipdxco/unified-github-workflows/.github/actions/read-config@main
86+ uses : ipdxco/unified-github-workflows/.github/actions/read-config@6d814de11369bb725d26e8d350ac62fe6811ff0a # v1.0.40
8787 - name : Read the go.mod file
8888 id : go-mod
89- uses : ipdxco/unified-github-workflows/.github/actions/read-go-mod@main
89+ uses : ipdxco/unified-github-workflows/.github/actions/read-go-mod@6d814de11369bb725d26e8d350ac62fe6811ff0a # v1.0.40
9090 - name : Set up the Go version read from the go.mod file
9191 id : go
9292 if : (inputs.go-version || fromJSON(steps.go-mod.outputs.json).Go) != steps.stable.outputs.go-version || inputs.go-cache != 'false'
93- uses : actions/setup-go@v6
93+ uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
9494 with :
9595 go-version : ${{ inputs.go-version || fromJSON(steps.go-mod.outputs.json).Go }}
9696 cache : ${{ inputs.go-cache }}
@@ -170,7 +170,7 @@ jobs:
170170 go get github.com/golangci/golangci-lint/v2/cmd/golangci-lint@$version ||
171171 go get github.com/golangci/golangci-lint/cmd/golangci-lint@$version
172172 - name : Check that go.mod is tidy
173- uses : protocol/multiple-go-modules@v1.4
173+ uses : protocol/multiple-go-modules@ac694baecddc63fc5ba8fe8262d46659fbbf911d # v1.4
174174 with :
175175 run : |
176176 go mod tidy
@@ -189,19 +189,19 @@ jobs:
189189 fi
190190 - name : go vet
191191 if : success() || failure() # run this step even if the previous one failed
192- uses : protocol/multiple-go-modules@v1.4
192+ uses : protocol/multiple-go-modules@ac694baecddc63fc5ba8fe8262d46659fbbf911d # v1.4
193193 with :
194194 run : go vet ./...
195195 - name : staticcheck
196196 if : success() || failure() # run this step even if the previous one failed
197- uses : protocol/multiple-go-modules@v1.4
197+ uses : protocol/multiple-go-modules@ac694baecddc63fc5ba8fe8262d46659fbbf911d # v1.4
198198 with :
199199 run : |
200200 set -o pipefail
201201 staticcheck ./... | sed -e 's@\(.*\)\.go@./\1.go@g'
202202 - name : golangci-lint run
203203 if : (success() || failure()) && hashFiles('.golangci.yml', '.golangci.toml', '.golangci.json', '.golangci.yaml') != ''
204- uses : protocol/multiple-go-modules@v1.4
204+ uses : protocol/multiple-go-modules@ac694baecddc63fc5ba8fe8262d46659fbbf911d # v1.4
205205 env :
206206 NEW_FROM_REV : ${{
207207 steps.github.outputs.base_sha && !(
@@ -218,7 +218,7 @@ jobs:
218218 with :
219219 run : golangci-lint run --disable govet --disable staticcheck --new=false --new-from-patch= --new-from-rev=$NEW_FROM_REV --verbose
220220 - name : go generate
221- uses : protocol/multiple-go-modules@v1.4
221+ uses : protocol/multiple-go-modules@ac694baecddc63fc5ba8fe8262d46659fbbf911d # v1.4
222222 if : (success() || failure()) && fromJSON(steps.config.outputs.json).gogenerate == true
223223 env :
224224 IGNORE_PROTOC_VERSION_COMMENTS : ${{ inputs.go-generate-ignore-protoc-version-comments }}
0 commit comments