Skip to content

fixes for krew index #133

fixes for krew index

fixes for krew index #133

Workflow file for this run

name: test
on:
push:
tags:
- "**"
branches:
- master
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
cache: true
- run: go test -v ./...
- name: Validate krew-index manifest
run: |
TAG=$(curl -sL https://github.com/boz/kail/releases/latest -H "Accept: application/json" | jq -r .tag_name)
go install sigs.k8s.io/krew/cmd/validate-krew-manifest@latest
docker run --rm -v ./.krew/tail.yaml:/tmp/template-file.yaml ghcr.io/rajatjindal/krew-release-bot:latest krew-release-bot template --tag ${TAG} --template-file /tmp/template-file.yaml 1>/tmp/tail.yaml
~/go/bin/validate-krew-manifest -manifest /tmp/tail.yaml