yaml and its consequences for the human race

This commit is contained in:
Tropical 2026-03-29 20:06:38 -05:00
parent 39ebddbafc
commit 327addddae
2 changed files with 36 additions and 28 deletions

View file

@ -1,19 +1,23 @@
name: Build (Linux, x86-64) name: Build (Linux, x86-64)
on: [push, pull_request] on:
paths: push:
- '**.cpp' paths: &workflow_paths
- '**.h' - '**.cpp'
- '**.c' - '**.h'
- '**.cc' - '**.c'
- '**.cxx' - '**.cc'
- '**.hh' - '**.cxx'
- '**.hpp' - '**.hh'
- '**.hxx' - '**.hpp'
- '**.inl' - '**.hxx'
- "**meson.build" - '**.inl'
- "flake.nix" - "**meson.build"
- '.github/workflows/build-linux.yml' - "flake.nix"
- '.github/workflows/build-linux.yml'
pull_request:
paths: *workflow_paths
jobs: jobs:
build-linux: build-linux:

View file

@ -1,19 +1,23 @@
name: Format name: Format
on: [push, pull_request] on:
paths: push:
- '**.cpp' paths: &workflow_paths
- '**.h' - '**.cpp'
- '**.c' - '**.h'
- '**.cc' - '**.c'
- '**.cxx' - '**.cc'
- '**.hh' - '**.cxx'
- '**.hpp' - '**.hh'
- '**.hxx' - '**.hpp'
- '**.inl' - '**.hxx'
- '.clang-format' - '**.inl'
- '.github/workflows/clang-format.yml' - '.clang-format'
- '.github/scripts/check-clang-format.sh' - '.github/workflows/clang-format.yml'
- '.github/scripts/check-clang-format.sh'
pull_request:
paths: *workflow_paths
jobs: jobs:
clang-format: clang-format: