Skip to content

Commit ea9dcbb

Browse files
committed
Split workflows
1 parent 2dd2725 commit ea9dcbb

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/main.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "CI"
1+
name: "Validate"
22

33
on:
44
push:
@@ -37,6 +37,13 @@ jobs:
3737
- name: cargo test --workspace
3838
working-directory: ./lua/nvim_winpick
3939
run: cargo test
40+
41+
name: "Publish"
42+
on:
43+
push:
44+
branches:
45+
- main
46+
jobs:
4047
publish_prebuilt:
4148
strategy:
4249
matrix:

lua/nvim_winpick/nvim-winpick-core/src/geometry.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pub(crate) fn get_overlay_centered_position(
134134
overlay_width: u32,
135135
overlay_height: u32,
136136
) -> Result<ScreenPoint> {
137-
let width = win_cfg.width.context("Failed to get window width")?;
137+
let width = win_cfg.width.context("failed to get window width")?;
138138
let height = win_cfg.height.context("failed to get window height")?;
139139
Ok(ScreenPoint {
140140
x: width

0 commit comments

Comments
 (0)