From 4a9b4bdf3a96a5f9fdcf8f8bcc44330e6036fa17 Mon Sep 17 00:00:00 2001 From: retoor Date: Wed, 8 Jul 2026 08:40:46 +0000 Subject: [PATCH] chore: normalize comment formatting in CI workflow and gitignore Replace inconsistent hash-comment separators (using `# ` prefix with spaces) with a uniform dash-based style across the CI pipeline YAML file, and add a `*.bak*` glob to the project's `.gitignore` to exclude backup files from version control. --- .gitea/workflows/ci.yml | 18 +++++++++--------- .gitignore | 1 + 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 7d56dc6..4a9c096 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -5,10 +5,10 @@ # Requires a Gitea act_runner with the "ubuntu-latest" label. # # Jobs: -# lint – compilation check with strict hints/warnings -# test – matrix across Nim versions; runs the full test suite -# build – release-optimised binary (depends on lint + test) -# coverage – instrumented test run (manual / main only) +# lint - compilation check with strict hints/warnings +# test - matrix across Nim versions; runs the full test suite +# build - release-optimised binary (depends on lint + test) +# coverage - instrumented test run (manual / main only) # ============================================================================= name: CI @@ -25,14 +25,14 @@ concurrency: cancel-in-progress: true # --------------------------------------------------------------------------- -# Shared environment – drive everything from a single Nim version variable +# Shared environment - drive everything from a single Nim version variable # --------------------------------------------------------------------------- env: NIM_VERSION: "stable" jobs: # ========================================================================= - # LINT – compile with every hint and warning enabled so nothing slips + # LINT - compile with every hint and warning enabled so nothing slips # through. This catches dead code, unused imports, and type issues early. # ========================================================================= lint: @@ -65,7 +65,7 @@ jobs: run: make lint # ========================================================================= - # TEST – matrix across the minimum supported Nim version and the latest + # TEST - matrix across the minimum supported Nim version and the latest # stable release. Runs the full test suite (all languages). # ========================================================================= test: @@ -101,7 +101,7 @@ jobs: run: make test # ========================================================================= - # BUILD – release-optimised binary. Only runs when lint and at least one + # BUILD - release-optimised binary. Only runs when lint and at least one # test matrix leg pass. Uploads the binary as a workflow artifact. # ========================================================================= build: @@ -142,7 +142,7 @@ jobs: retention-days: 7 # ========================================================================= - # COVERAGE – instrumented test run (requires nim-coverage; optional). + # COVERAGE - instrumented test run (requires nim-coverage; optional). # Runs on manual dispatch or merges to main only to save CI minutes. # ========================================================================= coverage: diff --git a/.gitignore b/.gitignore index 583e647..a00631d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ tests/test_json_exhaustive tests/test_toml_exhaustive tests/test_yaml_exhaustive +*.bak* # ── Nim ────────────────────────────────────────────────────────────────── nimcache/ nimblecache/