Skip to content

docs: update retrospective tracking with completed PRs #111-114 #99

docs: update retrospective tracking with completed PRs #111-114

docs: update retrospective tracking with completed PRs #111-114 #99

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths-ignore:
- '.github/agents/**'
- '.github/workflows/**'
- 'docs/agents.md'
- 'docs/ai-model-reference.md'
concurrency:
group: versioning-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: write
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
global-json-file: global.json
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Test
run: dotnet test --no-build --configuration Release --verbosity normal
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 20
- name: Generate comprehensive demo report
run: |
mkdir -p artifacts
dotnet run --project src/Oocx.TfPlan2Md/Oocx.TfPlan2Md.csproj -- examples/comprehensive-demo/plan.json --principals examples/comprehensive-demo/demo-principals.json --output artifacts/comprehensive-demo.md
- name: Lint comprehensive demo markdown
run: npx markdownlint-cli2 artifacts/comprehensive-demo.md
version:
name: Version and Tag
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
global-json-file: global.json
- name: Install Versionize
run: dotnet tool install --global Versionize
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Versionize
id: versionize
run: |
versionize --exit-insignificant-commits --skip-dirty
echo "version_bumped=true" >> $GITHUB_OUTPUT
continue-on-error: true
- name: Push changes
if: steps.versionize.outcome == 'success'
run: git push --follow-tags