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@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
7+ uses : actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
88 with :
9- go-version : " 1.25"
109 go-version-file : " go.mod"
1110 cache : true
1211 cache-dependency-path : go.sum
1312 - id : go-cache-paths
1413 shell : bash
1514 run : |
16- echo "::set-output name= go-build:: $(go env GOCACHE)"
17- echo "::set-output name= go-mod:: $(go env GOMODCACHE)"
15+ echo "go-build= $(go env GOCACHE)" >> $GITHUB_OUTPUT
16+ echo "go-mod= $(go env GOMODCACHE)" >> $GITHUB_OUTPUT
1817 - name : Go Mod Cache
19- uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4
18+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
2019 with :
2120 path : ${{ steps.go-cache-paths.outputs.go-mod }}
2221 key : ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
2322 restore-keys : |
2423 ${{ runner.os }}-go-mod-
2524 - name : Go Build Cache
26- uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4
25+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
2726 with :
2827 path : ${{ steps.go-cache-paths.outputs.go-build }}
2928 key : ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
31+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
68+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
19+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
30+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3131 with :
3232 ref : ${{ github.event.pull_request.head.sha }}
3333
Original file line number Diff line number Diff line change 1616 github_token : ${{ secrets.GITHUB_TOKEN }}
1717
1818 - name : Checkout repository
19- uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
19+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2020 with :
2121 ref : ${{ github.event.pull_request.head.sha }}
2222
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
21+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
138+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
18+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
18+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
33+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
33+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3434 - name : Coverage result name
3535 id : name
3636 run : |
You can’t perform that action at this time.
0 commit comments