File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 platform : [ubuntu-latest]
1818 runs-on : ${{ matrix.platform }}
1919 steps :
20- - uses : actions/checkout@v5
20+ - uses : actions/checkout@v6
2121 - name : Lint shell scripts, ignoring third-party files
2222 run : |
2323 find . -name "*.sh" | grep -v site | grep -v vendor | grep -v node_modules | grep -v demo/demo-magic > shell_files.out
@@ -28,21 +28,12 @@ jobs:
2828 matrix :
2929 platform : [ubuntu-latest]
3030 runs-on : ${{ matrix.platform }}
31- env :
32- GOPATH : /home/runner/work/krm-functions-sdk/go
33- GO111MODULE : on
3431 steps :
35- - name : Check out code into GOPATH
36- uses : actions/checkout@v5
37- with :
38- path : go/src/github.com/kptdev/krm-functions-sdk
32+ - uses : actions/checkout@v6
3933 - name : Set up Go
40- uses : actions/setup-go@v6
34+ uses : kptdev/porch/.github/ actions/setup-go-kpt@main
4135 with :
42- go-version-file : go/src/github.com/kptdev/krm-functions-sdk/go/fn/go.mod
43- cache : true
44- id : go
36+ go-version-file : go/fn/go.mod
37+ install-kpt : ' false'
4538 - name : Build, Test, Lint
46- run : |
47- cd go/src/github.com/kptdev/krm-functions-sdk
48- hack/ci-validate-go.sh
39+ run : hack/ci-validate-go.sh
You can’t perform that action at this time.
0 commit comments