File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 using : " composite"
55 steps :
66 - name : Install go
7- uses : actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
7+ uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
88 with :
99 go-version-file : " go.mod"
1010 cache : true
1111 cache-dependency-path : go.sum
12- - id : go-cache-paths
13- shell : bash
14- run : |
15- echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT
16- echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
17- - name : Go Mod Cache
18- uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
19- with :
20- path : ${{ steps.go-cache-paths.outputs.go-mod }}
21- key : ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
22- restore-keys : |
23- ${{ runner.os }}-go-mod-
24- - name : Go Build Cache
25- uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
26- with :
27- path : ${{ steps.go-cache-paths.outputs.go-build }}
28- key : ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
29- restore-keys : |
30- ${{ runner.os }}-go-build-
Original file line number Diff line number Diff line change 2828 runs-on : ubuntu-latest
2929 steps :
3030 - name : Checkout code
31- uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
31+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232 with :
3333 fetch-depth : 0
3434 - uses : ./.github/actions/setup-go
6565
6666 # Load Golang cache build from GitHub
6767 - name : Load cso Golang cache build from GitHub
68- uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
68+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
6969 id : cache
7070 with :
7171 path : /tmp/.cache/cso
Original file line number Diff line number Diff line change 1616 name : check for kubebuilder markers
1717 runs-on : ubuntu-24.04
1818 steps :
19- - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
19+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020
2121 # go is required for building controller-gen
2222 - uses : ./.github/actions/setup-go
Original file line number Diff line number Diff line change 2727 password : ${{ secrets.github_token }}
2828 steps :
2929 - name : Checkout repository
30- uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
30+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131 with :
3232 ref : ${{ github.event.pull_request.head.sha }}
3333
Original file line number Diff line number Diff line change 3333 echo "PR title is valid: '$TITLE'"
3434
3535 - name : Checkout repository
36- uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
36+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3737 with :
3838 ref : ${{ github.event.pull_request.head.sha }}
3939
Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-latest
1919 steps :
2020 - name : Checkout code
21- uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
21+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222 with :
2323 fetch-depth : 0
2424 - uses : ./.github/actions/setup-go
@@ -135,7 +135,7 @@ jobs:
135135 run : echo "RELEASE_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV
136136
137137 - name : checkout code
138- uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
138+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
139139 with :
140140 fetch-depth : 0
141141
Original file line number Diff line number Diff line change 1515 steps :
1616 # Load Golang cache build from GitHub
1717 - name : Load cso Golang cache build from GitHub
18- uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
18+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
1919 id : cache
2020 with :
2121 path : /tmp/.cache/cso
Original file line number Diff line number Diff line change 1515 password : ${{ secrets.github_token }}
1616 steps :
1717 - name : Checkout repository
18- uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
18+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919 - name : Fixup git permissions
2020 # https://github.com/actions/checkout/issues/766
2121 shell : bash
Original file line number Diff line number Diff line change 3030 runs-on : ubuntu-latest
3131 steps :
3232 - name : Checkout
33- uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
33+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3434
3535 - name : Generate Token
3636 uses : actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2
Original file line number Diff line number Diff line change 3030 timeout-minutes : 10
3131 steps :
3232 - name : Checkout repository
33- uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
33+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3434 - name : Coverage result name
3535 id : name
3636 run : |
You can’t perform that action at this time.
0 commit comments