From 02b637c9c740e228c0bbb1570954b359409a4bfc Mon Sep 17 00:00:00 2001 From: garrettladley Date: Mon, 4 Nov 2024 11:19:58 -0500 Subject: [PATCH] feat: trigger ci on go.mod && go.sum change --- .github/workflows/ci.yml | 2 ++ TODO.md | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 662fec9..3c0d532 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,8 @@ on: push: paths: - '**/*.go' + - go.mod + - go.sum - .github/workflows/ci.yml concurrency: diff --git a/TODO.md b/TODO.md index 548ddcf..8b2ca71 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,12 @@ - [ X ] Determine package name to be generated - [ ] Determine language to be used in lexer +```go +lexer := lexers.Match("foo.go") +if lexer == nil { +lexer = lexers.Fallback +} +chroma.Coalesce(lexer) +``` - [ ] Drill down style - [ ] Flag for with version - [ ] Flag for with timestamp