62 Commits

Author SHA1 Message Date
Kovid Goyal
9bb359e1ef Bump python version in CI 2026-04-19 21:35:13 +05:30
Kovid Goyal
0ea65903b8 Revert "Increase minimum python version to 3.12"
This reverts commit 7004911271.
Dont need 3.12 anymore
2026-02-08 21:57:11 +05:30
Kovid Goyal
7004911271 Increase minimum python version to 3.12
Needed for PyErr_GetRaisedException

I could polyfill it, but cant be bothered. Python 3.12 is almost 3 years
old now. If somebody really, really needs older python support, PR
welcome.
2026-02-04 20:47:28 +05:30
Kovid Goyal
edd466e5f7 Pygments does not need type checking globally ignored anymore 2026-01-14 22:18:11 +05:30
dependabot[bot]
232edb3ad3 Bump actions/cache from 4 to 5 in the actions group
Bumps the actions group with 1 update: [actions/cache](https://github.com/actions/cache).


Updates `actions/cache` from 4 to 5
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-22 03:22:12 +00:00
dependabot[bot]
e69318e5fb Bump actions/checkout from 5 to 6 in the actions group
Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 03:51:10 +00:00
Kovid Goyal
508b022721 Run dependency scanner CI job on schedule as well 2025-09-23 08:52:35 +05:30
Kovid Goyal
ebb7ccebd0 Add a check dependencies action
Use the gyre tool to scan all binaries and generate a report
2025-09-17 21:32:28 +05:30
dependabot[bot]
04a8a60a87 Bump the actions group with 4 updates
Bumps the actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python), [actions/setup-go](https://github.com/actions/setup-go) and [actions/cache](https://github.com/actions/cache).


Updates `actions/checkout` from 3 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v5)

Updates `actions/setup-python` from 4 to 6
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v6)

Updates `actions/setup-go` from 3 to 6
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v6)

Updates `actions/cache` from 3 to 4
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/cache
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 06:26:51 +00:00
Galantsev, Dmitrii
4a8824c10e Fix bad code block formatting in docs
I noticed that
<https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.text_fg_override_threshold>
said ':code:` ratio`' instead of being formatted as code. I assume
that's because of a space after `.

Fixed 2 cases where I found the issue.
Added a simple code block check to CI.

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-03-30 17:48:12 -05:00
Kovid Goyal
9e1601a9b5 Nicer way to include grapheme test data in Go tests 2025-03-27 03:20:27 +05:30
Kovid Goyal
e76daa3736 Fix failing go vet in CI 2025-03-27 02:51:26 +05:30
Kovid Goyal
c32e7ce7ab Remove git credentials after checkout 2025-02-24 12:00:58 +05:30
Kovid Goyal
cad319a3c7 Bump minimum python version to 3.10
3.9 is EOL in a few months and I am tired of typing Optional
2025-01-07 12:07:01 +05:30
Kovid Goyal
8b8c7ccfa0 Update before install 2024-12-12 10:40:49 +05:30
Kovid Goyal
3964e9e9ef Run bencmark on macOS as well 2024-11-28 22:25:52 +05:30
Kovid Goyal
524fb0a9c9 Run benchmark script in Linux CI 2024-11-28 21:56:21 +05:30
Kovid Goyal
63df210707 Add a test for ./dev.sh to CI 2024-09-29 21:44:35 +05:30
Kovid Goyal
68b6db4b61 Bump minimum python version to 3.9
3.8 is almost EOL will be in a month or so
2024-07-27 00:07:17 +05:30
Kovid Goyal
1669e099dc Needed for typing.NotRequired 2024-06-24 07:54:12 +05:30
Kovid Goyal
98624d614e Dont use deprecated ruff invocation syntax 2024-05-14 20:37:25 +05:30
Kovid Goyal
adda3249f5 Lets see if sanitize works 2024-03-21 21:00:58 +05:30
Kovid Goyal
f5570c38dd Turn off sanitizers in CI as they are segfaulting
Trying to debug this in CI is too much work. Hopefully whatever
update in the CI env that is causing these will eventually be fixed.
2024-03-14 18:37:19 +05:30
Kovid Goyal
1712a317d5 ... 2024-03-14 16:38:19 +05:30
Kovid Goyal
d006ba504f Use a separate cache for the job that builds static kittens 2023-08-16 14:09:51 +05:30
Kovid Goyal
ebbb8e4a09 The github setup-go action now supports caching out of the box 2023-08-16 12:02:32 +05:30
Kovid Goyal
0ba5f20902 CI: See if we can cache golang build artifacts 2023-08-11 09:17:05 +05:30
Kovid Goyal
3687694d0d Make building of static kittens the last step in CI
It is the least likely to fail and also the longest to execute
2023-08-11 08:48:19 +05:30
pagedown
d1e54a1d3b CI: Bump versions of the deprecated github actions to the latest 2023-02-11 20:33:29 +08:00
pagedown
3c7df680cf Get go version from go.mod
No need to update multiple places when bumping the go version.
2023-02-11 20:33:08 +08:00
Kovid Goyal
27ae9104ac Bump required Go version to 1.20
This allows us to use the stdlib for ECDH crypto used by remote control.
Fixes #5976
2023-02-03 09:32:56 +05:30
Kovid Goyal
f15d27bb62 Use ruff on CI 2023-01-09 15:55:45 +05:30
Kovid Goyal
77a3916f6f We need go >= 1.19 2023-01-05 19:41:42 +05:30
Kovid Goyal
c03af4d294 Build static binaries on CI 2022-11-15 15:07:33 +05:30
Kovid Goyal
2e07f90baf ... 2022-11-14 15:42:07 +05:30
Kovid Goyal
d6f42a11d7 Run go vet on CI 2022-11-14 15:42:00 +05:30
Kovid Goyal
d0e133885c Install Go 1.18 on CI 2022-11-14 15:42:00 +05:30
Kovid Goyal
f90753c69b Use whatever version of go is available on CI 2022-11-14 15:41:46 +05:30
Kovid Goyal
1429be3a19 Run gofmt via python, easier to debug 2022-11-14 15:41:44 +05:30
Kovid Goyal
2ea3fa36d2 ... 2022-11-14 15:41:44 +05:30
Kovid Goyal
2fd013b593 Add source code linting for go to CI 2022-11-14 15:41:44 +05:30
Kovid Goyal
cea9ff30dc Add the go dependency to CI and Brewfile 2022-11-14 15:41:44 +05:30
Kovid Goyal
dea3df66f8 system python appears broken on macos-latest image
The pip scripts install directory is not on PATH
2022-11-03 13:05:03 +05:30
Kovid Goyal
ec80a1532c Try to make mypy happy with the contortions needed for importlib.resources 2022-11-03 12:41:13 +05:30
Alex
5c82f4beca build: harden ci.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-23 22:14:57 +02:00
Kovid Goyal
2bb42e67d7 We have to build docs to test building of package now 2022-08-19 13:51:35 +05:30
Kovid Goyal
b0666c9180 test.py now needs kitty built 2022-07-13 20:00:54 +05:30
Kovid Goyal
57d3d09679 DRYer 2022-07-13 19:49:40 +05:30
Kovid Goyal
7b91447d89 Use a full chekcout in CI when building docs
The :commit: docs role requires it
2022-06-04 08:00:00 +05:30
Kovid Goyal
581c388838 ... 2022-05-29 15:02:37 +05:30