Use whatever version of go is available on CI

This commit is contained in:
Kovid Goyal
2022-08-17 00:32:13 +05:30
parent bab914c497
commit f90753c69b
3 changed files with 10 additions and 24 deletions

View File

@@ -53,11 +53,6 @@ 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
@@ -83,19 +78,14 @@ 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
run: python -m pip install -r docs/requirements.txt flake8 mypy types-requests types-docutils
- name: Run pyflakes
run: python -m flake8 --count .
- name: Run gofmt
run: python .github/workflows/ci.py gofmt
run: go version && python .github/workflows/ci.py gofmt
- name: Build kitty package
run: python .github/workflows/ci.py package
@@ -104,7 +94,7 @@ jobs:
run: python setup.py build --debug
- name: Run mypy
run: ./test.py mypy
run: which python && python -m mypy --version && ./test.py mypy
- name: Build man page
run: make FAIL_WARN=1 man
@@ -126,11 +116,6 @@ 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
@@ -150,10 +135,6 @@ 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