summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-28 20:39:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-10-28 20:39:06 +0800
commit9d043fca731ba0e4a1487dc9b2f490e652a727eb (patch)
treec51cf157d6a09282167718480d1a44fb3af4a555 /.github
parent9bf68bc3233ddd845c8f52d4239ed5bfb7c7475c (diff)
downloadlua-language-server-9d043fca731ba0e4a1487dc9b2f490e652a727eb.zip
update action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ea7ad578..47671b99 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,5 +1,5 @@
name: build
-on: [push, pull_request]
+on: push
jobs:
compile:
runs-on: ${{ matrix.os }}
@@ -18,3 +18,20 @@ jobs:
with:
name: lua-language-server
path: bin
+
+name: checkPR
+on: pull_request
+jobs:
+ compile:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [windows-latest, ubuntu-18.04, macos-latest]
+ steps:
+ - uses: actions/checkout@v1
+ with:
+ ref: refs/heads/master
+ submodules : recursive
+ - uses: actboy168/setup-luamake@master
+ - run: luamake