Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 6 additions & 15 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Lint shell scripts, ignoring third-party files
run: |
find . -name "*.sh" | grep -v site | grep -v vendor | grep -v node_modules | grep -v demo/demo-magic > shell_files.out
Expand All @@ -28,21 +28,12 @@ jobs:
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
env:
GOPATH: /home/runner/work/krm-functions-sdk/go
GO111MODULE: on
steps:
- name: Check out code into GOPATH
uses: actions/checkout@v5
with:
path: go/src/github.com/kptdev/krm-functions-sdk
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
uses: kptdev/porch/.github/actions/setup-go-kpt@main
Comment thread
aravindtga marked this conversation as resolved.
with:
go-version-file: go/src/github.com/kptdev/krm-functions-sdk/go/fn/go.mod
cache: true
id: go
go-version-file: go/fn/go.mod
install-kpt: 'false'
Comment thread
aravindtga marked this conversation as resolved.
- name: Build, Test, Lint
run: |
cd go/src/github.com/kptdev/krm-functions-sdk
hack/ci-validate-go.sh
run: hack/ci-validate-go.sh
Loading