From cea9ff30dc8c441ea486495f03bb69d22f7ab382 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 15 Aug 2022 15:16:13 +0530 Subject: [PATCH] Add the go dependency to CI and Brewfile --- .github/workflows/ci.py | 1 + .github/workflows/ci.yml | 19 +++++++++++++++++++ Brewfile | 1 + 3 files changed, 21 insertions(+) diff --git a/.github/workflows/ci.py b/.github/workflows/ci.py index 39f0eba2f..f42401fa6 100644 --- a/.github/workflows/ci.py +++ b/.github/workflows/ci.py @@ -32,6 +32,7 @@ def install_deps(): if is_macos: items = (x.split()[1].strip('"') for x in open('Brewfile').readlines() if x.strip().startswith('brew ')) openssl = 'openssl' + items.remove('go') # already installed by ci.yml import ssl if ssl.OPENSSL_VERSION_INFO[0] == 1: openssl += '@1.1' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3ba604c4..b6f70ebde 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,11 @@ jobs: with: python-version: ${{ matrix.pyver }} + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '>=1.19.0' + - name: Build kitty run: python .github/workflows/ci.py build @@ -78,6 +83,11 @@ jobs: with: python-version: "3.10" + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '>=1.19.0' + - name: Install build-only deps run: pip install -r docs/requirements.txt flake8 mypy types-requests types-docutils @@ -113,6 +123,11 @@ jobs: with: fetch-depth: 10 + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '>=1.19.0' + - name: Build kitty run: which python3 && python3 .github/workflows/ci.py build @@ -132,6 +147,10 @@ jobs: uses: actions/setup-python@v3 with: python-version: "3.10" + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '>=1.19.0' - name: Build kitty run: python3 .github/workflows/ci.py build diff --git a/Brewfile b/Brewfile index a31693338..35de4d1b7 100644 --- a/Brewfile +++ b/Brewfile @@ -5,3 +5,4 @@ brew "python" brew "imagemagick" brew "harfbuzz" brew "sphinx-doc" +brew "go"