408330e131110c8b86ce60ab0492b35657cb4d57
Author Marc Cornellà <hello@mcornella.com> Committer Marc Cornellà <hello@mcornella.com> Date 2023-10-11 18:44 UTC
Message 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.
Diff 1 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
2 index 57403629c72d4aa7a190f69df2afdd765ed48409..de7d982628739e3513089aab49a505dfaecb9d72 100644
3 --- a/.github/workflows/main.yml
4 +++ b/.github/workflows/main.yml
5 @@ -20,16 +20,12 @@ permissions:
6 jobs:
7 tests:
8 name: Run tests
9 - runs-on: ${{ matrix.os }}
10 + runs-on: ubuntu-latest
11 if: github.repository == 'ohmyzsh/ohmyzsh'
12 - strategy:
13 - matrix:
14 - os: [ubuntu-latest, macos-latest]
15 steps:
16 - name: Set up git repository
17 uses: actions/checkout@v3
18 - name: Install zsh
19 - if: runner.os == 'Linux'
20 run: sudo apt-get update; sudo apt-get install zsh
21 - name: Check syntax
22 run: |