branch: externals/csharp-mode
commit aebd137e72472ca6166896fc8ad0e0fdd26cb512
Author: JenChieh <jcs090...@gmail.com>
Commit: JenChieh <jcs090...@gmail.com>

    Use cask ci
---
 .github/workflows/build.yml | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 190c458..25fa60a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -10,29 +10,34 @@ on:
 
 jobs:
   build:
-    runs-on: ubuntu-18.04
+    runs-on: ${{ matrix.os }}
     name: Emacs - ${{ matrix.emacs }}
     strategy:
       matrix:
-        emacs: [26.1, 26.2, 26.3, 27.1, snapshot]
+        os: [ubuntu-latest, macos-latest]
+        emacs: [26.1, 26.2, 26.3, 27.1, 27.2 snapshot]
 
     steps:
       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can 
access it
       - uses: actions/checkout@v2
 
+      - uses: actions/setup-python@v2
+        with:
+          python-version: "3.6"
+          architecture: "x64"
+
       - uses: purcell/setup-emacs@master
         with:
           version: ${{ matrix.emacs }}
 
+      - uses: conao3/setup-cask@master
+        with:
+          version: 0.8.4
+
       - name: paths
         run: |
           echo "$HOME/.cask/bin" >> $GITHUB_PATH
 
-      - name: Install cask
-        run: |
-          curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | 
python
-          cask
-
       - name: Run a multi-line script
         run: |
           emacs --version

Reply via email to