From ecb2561f5b8823bd3fe43e0c5068bfa907b963f6 Mon Sep 17 00:00:00 2001 From: dcampos Date: Tue, 22 Nov 2022 10:20:16 -0300 Subject: [PATCH] Update CI --- .github/workflows/ci.yml | 8 ++++---- test/functional/preload.lua | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24b66ad..29578ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,11 @@ jobs: - name: Set current date id: vars run: | - echo "::set-output name=current_date::$(date +'%Y-%m-%d')" + echo "{current_date}={$(date +'%Y-%m-%d')}" >> $GITHUB_OUTPUT - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: cache with: path: neovim @@ -36,7 +36,7 @@ jobs: sudo apt-get install -y autoconf automake build-essential cmake gcc-11 gettext gperf libtool-bin locales ninja-build pkg-config unzip - name: Setup lua - uses: leafo/gh-actions-lua@v8 + uses: leafo/gh-actions-lua@v9 with: luaVersion: "luajit" diff --git a/test/functional/preload.lua b/test/functional/preload.lua index aa9bc96..e9d9f27 100644 --- a/test/functional/preload.lua +++ b/test/functional/preload.lua @@ -3,8 +3,10 @@ local global_helpers = require('test.helpers') -- Bypass CI behaviour logic -global_helpers.isCI = function(_) +global_helpers.is_ci = function(_) return false end +global_helpers.isCI = global_helpers.is_ci + local helpers = require('test.functional.helpers')(nil)