Skip to content

Commit 61da288

Browse files
committed
ci: update workflows and cmake
1 parent da26fd9 commit 61da288

2 files changed

Lines changed: 17 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
name: Tests
4+
5+
on:
6+
push:
7+
branches:
8+
- "main"
9+
pull_request:
10+
branches:
11+
- "main"
12+
workflow_dispatch:
413

514
jobs:
615
gcc:
@@ -9,10 +18,10 @@ jobs:
918
strategy:
1019
fail-fast: false
1120
matrix:
12-
os: [ubuntu-24.04, macos-15]
21+
os: [ubuntu-latest, macos-latest]
1322
compiler: [gcc, clang]
1423
steps:
15-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v5
1625
- name: Prepare
1726
env:
1827
CC: ${{ matrix.compiler }}
@@ -36,7 +45,7 @@ jobs:
3645
name: windows
3746
runs-on: windows-latest
3847
steps:
39-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v5
4049
- uses: lukka/get-cmake@latest
4150
- name: Build
4251
run: |
@@ -49,10 +58,10 @@ jobs:
4958
strategy:
5059
fail-fast: false
5160
matrix:
52-
os: [ubuntu-24.04, macos-15]
53-
rev: [nightly, v0.9.5, v0.10.1]
61+
os: [ubuntu-latest, macos-latest]
62+
rev: [nightly, stable, v0.10.4]
5463
steps:
55-
- uses: actions/checkout@v4
64+
- uses: actions/checkout@v5
5665
- uses: rhysd/action-setup-vim@v1
5766
with:
5867
neovim: true

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.2)
1+
cmake_minimum_required(VERSION 3.16)
22
project(fzf LANGUAGES C)
33

44
add_library(${PROJECT_NAME} SHARED "src/fzf.c")

0 commit comments

Comments
 (0)