Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump cmark #30

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,12 @@ jobs:
BEGIN {fail = 0}
NR > 1 && $NF == 0 { fail = 1; printf("bad line: %s\n", $0) }
END { if (fail) { exit(1) } }' go-cov.out
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup go
uses: actions/setup-go@v4
with:
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
env:
# run this separately since it handles it's own caching
SKIP: golangci-lint
check-generated-code:
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ repos:
hooks:
- id: validate-changelog
- repo: https://github.com/golangci/golangci-lint
rev: v1.54.2
rev: v1.57.2
hooks:
- id: golangci-lint
- repo: https://github.com/segmentio/golines
rev: v0.11.0
rev: v0.12.2
hooks:
- id: golines
- repo: https://gitlab.com/matthewhughes/nobarenolint
Expand Down
64 changes: 46 additions & 18 deletions pkg/cmark/blocks.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 10 additions & 11 deletions pkg/cmark/buffer.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions pkg/cmark/buffer.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/cmark/case_fold_switch.inc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions pkg/cmark/chunk.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/cmark/cmark.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading