浏览代码

ci: remove redundant macos runner for CI tests

Currently the macOS runner is not needed, as we are only checking
zsh syntax. We can reactivate it in the future if needed.
Marc Cornellà 7 月之前
父节点
当前提交
408330e131
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      .github/workflows/main.yml

+ 1 - 5
.github/workflows/main.yml

@@ -20,16 +20,12 @@ permissions:
 jobs:
   tests:
     name: Run tests
-    runs-on: ${{ matrix.os }}
+    runs-on: ubuntu-latest
     if: github.repository == 'ohmyzsh/ohmyzsh'
-    strategy:
-      matrix:
-        os: [ubuntu-latest, macos-latest]
     steps:
       - name: Set up git repository
         uses: actions/checkout@v3
       - name: Install zsh
-        if: runner.os == 'Linux'
         run: sudo apt-get update; sudo apt-get install zsh
       - name: Check syntax
         run: |