diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8554f7..69db480 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,23 +7,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 + - uses: actions/checkout@v4 - # Sets up lua - name: Install Lua run: | sudo apt install lua5.1 luarocks sudo luarocks install luafilesystem sudo luarocks install luacheck - # Sets up the environment - name: Set up environment run: | wget -O .luacheckrc 'https://ci.appveyor.com/api/projects/cuberite/cuberite/artifacts/.luacheckrc?job=Windows-x64&pr=false&branch=master' - # Runs the test - name: Run tests run: | luacheck . --codes