Skip to content

Commit

Permalink
CI-related fixes (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiascode authored Mar 24, 2024
1 parent ab82a81 commit 249aee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
repository: cuberite/CuberitePluginChecker
fetch-depth: 0
- uses: actions/checkout@v4

# Sets up lua
- name: Install Lua
run: |
sudo apt install lua5.1 luarocks libsqlite3-dev
Expand All @@ -25,7 +21,6 @@ jobs:
sudo luarocks install luasocket
sudo luarocks install luacheck
# Sets up the environment
- name: Set up environment
run: |
git clone --depth=1 https://github.com/cuberite/gallery ~/Gallery
Expand All @@ -36,7 +31,6 @@ jobs:
wget -O ~/ManualAPI.zip 'https://ci.appveyor.com/api/projects/cuberite/cuberite/artifacts/ManualAPI.zip?job=Windows-x64&pr=false&branch=master'
unzip ~/ManualAPI.zip -d ~
# Runs the test
- name: Run tests
run: |
lua CuberitePluginChecker.lua -p ~/Gallery -a ~/AutoAPI -e ~/ManualAPI.lua -i APIImpl/All.lua -s tests/Gallery/FuzzCommands.lua
Expand Down
2 changes: 1 addition & 1 deletion APIImpl/PluginManager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ local function ForEachPlugin(a_Simulator, a_Self, a_Callback)
ParamValues = { a_Self:GetCurrentPlugin() },
Notes = "cPluginManager:ForEachPlugin() callback",
})
return not(res == true) -- If the callback signalized an abort, return false
return (res ~= true) -- If the callback signalized an abort, return false
end


Expand Down

0 comments on commit 249aee9

Please sign in to comment.