added code to display version as commit hash #204
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Command Testing | |
on: | |
push: | |
branches: [ 'main' ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
install: | |
name: Run kuadrantctl generate | |
runs-on: ubuntu-latest | |
env: | |
KIND_CLUSTER_NAME: kuadrantctl-local | |
steps: | |
- name: Set up Go 1.21.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21.x | |
id: go | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: build | |
run: | | |
make install | |
- name: run command | |
run: | | |
bin/kuadrantctl generate gatewayapi httproute --oas examples/oas3/gateway-api-petstore.yaml |