Add the go dependency to CI and Brewfile

This commit is contained in:
Kovid Goyal
2022-08-15 15:16:13 +05:30
parent 63da2e1ec6
commit cea9ff30dc
3 changed files with 21 additions and 0 deletions

View File

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

View File

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