Skip to content

Commit

Permalink
Merge pull request #48 from ggtakec/update_runner_os
Browse files Browse the repository at this point in the history
Changed CI Runner OS and updated dependencies
  • Loading branch information
ggtakec authored Nov 1, 2023
2 parents 6ff8674 + 6804e07 commit f387ace
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ on:
#
jobs:
build:
# [NOTE]
# We plan to update to ubuntu-latest (22.04) soon.
# Right now I am forced to use 20.04 as there are no relevant packages yet.
#
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

strategy:
#
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"chai": "^4.3.10",
"mocha": "^10.0.0"
"mocha": "^10.2.0"
},
"scripts": {
"build": "npm run build:before && npm run build:configure && npm run build:rebuild && npm run build:linkdir && npm run build:after",
Expand Down
4 changes: 2 additions & 2 deletions src/k2hdkc_cbs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bool StackEmitCB::Set(const char* pemitname, Nan::Callback* cbfunc)

while(!flck_trylock_noshared_mutex(&lockval)); // LOCK

Nan::Callback* oldcbfunc = RawFind(pemitname);
const Nan::Callback* oldcbfunc = RawFind(pemitname);
if(oldcbfunc){
EmitCbsMap.erase(stremit);
}
Expand All @@ -92,7 +92,7 @@ bool StackEmitCB::Unset(const char* pemitname)

while(!flck_trylock_noshared_mutex(&lockval)); // LOCK

Nan::Callback* oldcbfunc = RawFind(pemitname);
const Nan::Callback* oldcbfunc = RawFind(pemitname);
if(oldcbfunc){
EmitCbsMap.erase(stremit);
}
Expand Down
2 changes: 1 addition & 1 deletion src/k2hdkc_node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ NAN_METHOD(K2hdkcNode::Clean)

NAN_METHOD(K2hdkcNode::IsPermanent)
{
K2hdkcNode* obj = Nan::ObjectWrap::Unwrap<K2hdkcNode>(info.This());
const K2hdkcNode* obj = Nan::ObjectWrap::Unwrap<K2hdkcNode>(info.This());

if(obj->_k2hdkcslave){
info.GetReturnValue().Set(Nan::True());
Expand Down

0 comments on commit f387ace

Please sign in to comment.