Skip to content

[CIEDEV-3991][Bundle Authoring]: Create static container image with terraform binaries #113

[CIEDEV-3991][Bundle Authoring]: Create static container image with terraform binaries

[CIEDEV-3991][Bundle Authoring]: Create static container image with terraform binaries #113

Workflow file for this run

name: Build and run tests
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Test Code
run: |
export CI=true
go test './...'
echo "Tests passed successfully."
- name: Build
run: |
go build
- name: Test CLI Code
run: |
export CI=true
cd tools/cli
go test './...'
echo "CLI Tests passed successfully."
- name: Build CLI
run: |
cd tools/cli
go build