Skip to content

feat: rename graph command as console (#368) #1189

feat: rename graph command as console (#368)

feat: rename graph command as console (#368) #1189

name: 🚀 Feature
on:
push:
branches:
- main
- feature/**
- fix/**
- chore/**
- release/**
workflow_dispatch:
permissions:
contents: read
pull-requests: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Info
run: echo 'Building ${{ github.ref }}'
- name: Cloning repository
uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.100
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.0
- name: Self Build
run: |
echo "# Self Build" >> $GITHUB_STEP_SUMMARY
make self-ci engine=podman
- name: Check Docs
run: |
make try-docs
- name: Create Test Report
uses: magnusopera/test-reporter@main
if: always()
with:
name: Unit Tests Report
path: '**/*.trx'
reporter: dotnet-trx
fail-on-error: false
fail-on-empty: false
use-actions-summary: true
- name: Self Integration Tests
run: make smoke-tests terrabuild=$PWD/.out/dotnet/terrabuild
- name: Include Build Logs
if: always()
run: |
ls -alR > terrabuild-debug.files.txt
echo "# Self Tests" >> $GITHUB_STEP_SUMMARY
echo "## basic" >> $GITHUB_STEP_SUMMARY
cat tests/basic/terrabuild-debug.md >> $GITHUB_STEP_SUMMARY
echo "## cluster-layers" >> $GITHUB_STEP_SUMMARY
cat tests/cluster-layers/terrabuild-debug.md >> $GITHUB_STEP_SUMMARY
echo "## multirefs" >> $GITHUB_STEP_SUMMARY
cat tests/multirefs/terrabuild-debug.md >> $GITHUB_STEP_SUMMARY
echo "## simple" >> $GITHUB_STEP_SUMMARY
cat tests/simple/terrabuild-debug.md >> $GITHUB_STEP_SUMMARY
echo "## indirect-target" >> $GITHUB_STEP_SUMMARY
cat tests/indirect-target/terrabuild-debug.md >> $GITHUB_STEP_SUMMARY
- name: Upload Terrabuild Debug
uses: actions/upload-artifact@v4
if: always()
with:
name: Terrabuild Debug
path: |
**/terrabuild-debug.*