Skip to content

Pin the k8s version in the generated resources for node #189

Pin the k8s version in the generated resources for node

Pin the k8s version in the generated resources for node #189

Workflow file for this run

name: ci
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
ci:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Go 1.20.x
uses: actions/setup-go@v4
with:
go-version: 1.20.x
cache-dependency-path: |
**/go.sum
- name: Run Go Build
run: |
go build -ldflags="-X github.com/pulumi/crd2pulumi/gen.Version=0.0.1" -o "${{ github.workspace }}/bin/crd2pulumi" main.go
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Run tests
run: go test -v .
working-directory: tests
- name: Goreleaser publishing dry run
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist --skip-publish
env:
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}