Skip to content

Commit 3ee171f

Browse files
Upgrade checkout action and add libreadline installation
Updated GitHub Actions workflow to use checkout@v6 and added installation of libreadline on Linux.
1 parent 48322ce commit 3ee171f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@ jobs:
2323
runs-on: ${{ matrix.runner }}
2424
steps:
2525
# Checks-out the repository under $GITHUB_WORKSPACE.
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
27+
- name: Install libreadline on linux
28+
run: |
29+
if [ "$RUNNER_OS" == "Linux" ]; then
30+
sudo apt-get install -y libreadline-dev
31+
fi
32+
shell: bash
33+
2734
- name: Install Lua (${{ matrix.lua }})
2835
run: |
2936
pip install git+https://github.com/luarocks/hererocks
@@ -50,10 +57,10 @@ jobs:
5057
runs-on: windows-2022
5158
steps:
5259
# Checks-out the repository under $GITHUB_WORKSPACE.
53-
- uses: actions/checkout@v4
60+
- uses: actions/checkout@v6
5461
- name: Install Lua (${{ matrix.lua }})
5562
run: |
56-
pip install git+https://github.com/luarocks/hererocks
63+
pip install hererocks
5764
hererocks lua_install -r@28f9d98 --${{ matrix.lua }} --target ${{ matrix.target }}
5865
- name: Build lua-simdjson
5966
run: |

0 commit comments

Comments
 (0)