Skip to content

update readme

update readme #2

Workflow file for this run

name: Catalog Check
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Validate generator scripts
run: python3 -m py_compile scripts/generate_catalog.py scripts/generate_upstream_watch.py scripts/upstream_watch.py
- name: Validate catalog source metadata
run: python3 scripts/generate_catalog.py --validate-only
- name: Validate generated upstream watch file
run: python3 scripts/generate_upstream_watch.py --check
- name: Validate upstream watch JSON
run: |
python3 - <<'PY'
import json
from pathlib import Path
json.loads(Path('.github/upstream-watch.json').read_text())
json.loads(Path('.github/upstream-watch-state.json').read_text())
print('watch json ok')
PY
tool-smoke:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"
- name: Build dotnet tool
run: dotnet build tools/DotnetSkills.Tooling/DotnetSkills.Tooling.csproj -c Release
- name: Pack dotnet tool
run: dotnet pack tools/DotnetSkills.Tooling/DotnetSkills.Tooling.csproj -c Release --no-build
- name: Smoke test installable tool
run: bash scripts/smoke_test_tool.sh artifacts/nuget