Skip to content

Commit 9ed8f3f

Browse files
committed
fix: pin Lua version on 5.4
1 parent 1c1ccf6 commit 9ed8f3f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,14 @@ jobs:
9999
libtool \
100100
yajl \
101101
lmdb \
102-
lua \
102+
lua@5.4 \
103103
libmaxminddb \
104104
libxml2 \
105105
ssdeep \
106106
pcre \
107107
bison \
108108
flex
109+
echo "/usr/local/opt/lua@5.4/bin" >> $GITHUB_PATH
109110
- uses: actions/checkout@v4
110111
with:
111112
submodules: true

.github/workflows/ci_new.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
with:
101101
fetch-depth: 0
102102
submodules: recursive
103-
103+
104104
- name: Install dependencies
105105
# curl and pcre2 are typically already available in the macOS runner image
106106
run: |
@@ -109,14 +109,14 @@ jobs:
109109
libtool \
110110
yajl \
111111
lmdb \
112-
lua \
112+
lua@5.4 \
113113
libmaxminddb \
114114
libxml2 \
115115
ssdeep \
116116
pcre \
117117
bison \
118118
flex
119-
119+
echo "/usr/local/opt/lua@5.4/bin" >> $GITHUB_PATH
120120
- name: Run build preparation script
121121
run: ./build.sh
122122

@@ -206,7 +206,8 @@ jobs:
206206

207207
- name: Install cppcheck
208208
run: |
209-
brew install autoconf automake libtool cppcheck libmaxminddb yajl lua lmdb ssdeep
209+
brew install autoconf automake libtool cppcheck libmaxminddb yajl lua@5.4 lmdb ssdeep
210+
echo "/usr/local/opt/lua@5.4/bin" >> $GITHUB_PATH
210211
211212
- name: Configure project
212213
run: |

0 commit comments

Comments
 (0)