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.
pull/11958/head
Marc Cornellà 2023-10-11 20:44:46 +02:00
parent 53cb50acb5
commit 408330e131
No known key found for this signature in database
GPG Key ID: 0314585E776A9C1B
1 changed files with 1 additions and 5 deletions

View File

@ -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: |