Browse Source

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 months ago
parent
commit
408330e131
1 changed files with 1 additions and 5 deletions
  1. 1 5
      .github/workflows/main.yml

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

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