File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ jobs:
4040
4141 steps :
4242 - name : Checkout repository
43- uses : actions/checkout@v4
43+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4444
4545 # Initializes the CodeQL tools for scanning.
4646 - name : Initialize CodeQL
47- uses : github/codeql-action/init@v3.28.18
47+ uses : github/codeql-action/init@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
4848 with :
4949 languages : ${{ matrix.language }}
5050 # If you wish to specify custom queries, you can do so here or in a config file.
6464 # make release
6565
6666 - name : Perform CodeQL Analysis
67- uses : github/codeql-action/analyze@v3.28.18
67+ uses : github/codeql-action/analyze@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
Original file line number Diff line number Diff line change @@ -35,20 +35,20 @@ jobs:
3535
3636 steps :
3737 - name : Set up Go
38- uses : actions/setup-go@v5
38+ uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
3939 with :
4040 go-version : ${{ env.GO_VERSION }}
4141
4242 - name : Set up Helm
4343 uses : azure/setup-helm@v4.3.0
4444
4545 - name : Checkout code
46- uses : actions/checkout@v4
46+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4747 with :
4848 path : ${{ env.GOPATH }}/src/github.com/fluid-cloudnative/fluid
4949
5050 - name : Create k8s Kind Cluster
51- uses : helm/kind-action@v1.12.0
51+ uses : helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
5252 with :
5353 node_image : kindest/node:${{ matrix.kubernetes-version }}
5454 cluster_name : ${{ env.KIND_CLUSTER }}
Original file line number Diff line number Diff line change 1616 staticcheck :
1717 runs-on : ubuntu-latest
1818 steps :
19- - uses : actions/checkout@v4
19+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020 - uses : dominikh/staticcheck-action@v1
2121
2222 lint :
@@ -34,12 +34,12 @@ jobs:
3434 go-version : ${{ env.GO_VERSION }}
3535
3636 - name : Checkout code
37- uses : actions/checkout@v4
37+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3838 with :
3939 path : ${{ env.GOPATH }}/src/github.com/fluid-cloudnative/fluid
4040
4141 - name : Lint golang code
42- uses : golangci/golangci-lint-action@v6
42+ uses : golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
4343 with :
4444 version : latest
4545 args : --timeout 10m --verbose
8989 go-version : ${{ env.GO_VERSION }}
9090
9191 - name : Checkout code
92- uses : actions/checkout@v4
92+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9393 with :
9494 path : ${{ env.GOPATH }}/src/github.com/fluid-cloudnative/fluid
9595
Original file line number Diff line number Diff line change 2929
3030 steps :
3131 - name : " Checkout code"
32- uses : actions/checkout@v4
32+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333 with :
3434 persist-credentials : false
3535
4343 exclude_paths : " vendor/**"
4444
4545 - name : " Upload artifact"
46- uses : actions/upload-artifact@v4
46+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
4747 with :
4848 name : SARIF file
4949 path : results.sarif
You can’t perform that action at this time.
0 commit comments