File tree Expand file tree Collapse file tree 9 files changed +31
-144
lines changed Expand file tree Collapse file tree 9 files changed +31
-144
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,20 +16,22 @@ jobs:
1616 run :
1717 working-directory : ./website
1818 steps :
19- - uses : actions/checkout@v4
19+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2020 with :
2121 fetch-depth : 0
22- - uses : actions/setup-node@v4
22+
23+ - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
2324 with :
2425 node-version : 20
2526
2627 - name : Install dependencies
2728 run : npm install --frozen-lockfile
29+
2830 - name : Build website
2931 run : npm run build
3032
3133 - name : Upload Build Artifact
32- uses : actions/upload-pages-artifact@v3
34+ uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
3335 with :
3436 path : ./website/build
3537
5153 steps :
5254 - name : Deploy to GitHub Pages
5355 id : deployment
54- uses : actions/deploy-pages@v4
56+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # #v4.0.5
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212 build :
1313 runs-on : ubuntu-latest
1414 steps :
15- - name : Checkout
16- uses : actions/checkout@v4
17- - name : Release
18- uses : softprops/action-gh-release@v2
15+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
16+ - uses : softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # 2.4.1
1917 with :
2018 generate_release_notes : true
Original file line number Diff line number Diff line change @@ -20,10 +20,12 @@ jobs:
2020 name : lint
2121 runs-on : ubuntu-latest
2222 steps :
23- - uses : actions/checkout@v4
24- - uses : actions/setup-go@v5
23+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
24+
25+ - uses : actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
2526 with :
2627 go-version : stable
28+
2729 - name : golangci-lint
2830 uses : golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9
2931 with :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77 postsubmit :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v5
11- - name : hydrate-goproxy
12- run : |
13- mkdir -p hydrate-goproxy
14- cd hydrate-goproxy
15- go mod init hydrate-goproxy
16- go get github.com/kubernetes-sigs/kro@${GITHUB_SHA}
10+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
11+ - name : hydrate-goproxy
12+ run : |
13+ mkdir -p hydrate-goproxy
14+ cd hydrate-goproxy
15+ go mod init hydrate-goproxy
16+ go get github.com/kubernetes-sigs/kro@${GITHUB_SHA}
Original file line number Diff line number Diff line change 55 branches :
66 - main
77 paths :
8- - ' website/**'
8+ - " website/**"
99
1010jobs :
1111 test-deploy :
@@ -15,14 +15,16 @@ jobs:
1515 run :
1616 working-directory : ./website
1717 steps :
18- - uses : actions/checkout@v5
18+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1919 with :
2020 fetch-depth : 0
21- - uses : actions/setup-node@v5
21+
22+ - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
2223 with :
2324 node-version : 20
24-
25+
2526 - name : Install dependencies
2627 run : npm install --frozen-lockfile
28+
2729 - name : Test build website
2830 run : npm run build
Original file line number Diff line number Diff line change 11name : unit tests
22on :
33 push :
4- branches : [ main ]
4+ branches : [main]
55 paths :
66 - " **.go"
77 - go.mod
88 - go.sum
99 - scripts/ci/**
1010 pull_request :
11- branches : [ main ]
11+ branches : [main]
1212 paths :
1313 - " **.go"
1414 - go.mod
1818jobs :
1919 build :
2020 runs-on : ubuntu-latest
21- strategy :
22- matrix :
23- go-version : [ '1.24' ]
2421
2522 steps :
26- - uses : actions/checkout@v3
27- - name : Setup Go ${{ matrix.go-version }}
28- uses : actions/setup-go@v4
23+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
24+
25+ - uses : actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
2926 with :
30- go-version : ${{ matrix.go-version }}
27+ go-version-file : " go.mod "
3128
3229 - name : Run scripts/ci/presubmits/unit-tests
3330 run : scripts/ci/presubmits/unit-tests
You can’t perform that action at this time.
0 commit comments