Skip to content

Commit df7084d

Browse files
authored
Remove the legacy builders (#776)
These builds are no longer working because some of the dependencies now require newer versions of Go. Seems like the ecosystem has moved to Go 1.11+, so we are now forced to follow suit.
1 parent 1e2cb92 commit df7084d

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -9,45 +9,11 @@ on:
99

1010
jobs:
1111

12-
build-legacy:
13-
strategy:
14-
fail-fast: false
15-
matrix:
16-
go: [ '1.9', '1.10' ]
17-
name: Go ${{ matrix.go }}
18-
19-
runs-on: ubuntu-18.04
20-
21-
steps:
22-
- name: Set up Go
23-
uses: actions/setup-go@v1
24-
with:
25-
go-version: ${{ matrix.go }}
26-
id: go
27-
- name: Check out code into the GOPATH
28-
uses: actions/checkout@v1
29-
with:
30-
fetch-depth: 1
31-
path: src/github.com/${{ github.repository }}
32-
- name: Build
33-
env:
34-
GOPATH: /home/runner/work/git2go
35-
run: |
36-
git submodule update --init
37-
sudo apt-get install -y --no-install-recommends libssh2-1-dev
38-
make build-libgit2-static
39-
go get -tags static -t github.com/${{ github.repository }}/...
40-
go build -tags static github.com/${{ github.repository }}/...
41-
- name: Test
42-
env:
43-
GOPATH: /home/runner/work/git2go
44-
run: make TEST_ARGS=-test.v test-static
45-
4612
build-static:
4713
strategy:
4814
fail-fast: false
4915
matrix:
50-
go: [ '1.11', '1.12', '1.13', '1.14', '1.15' ]
16+
go: [ '1.11', '1.12', '1.13', '1.14', '1.15', '1.16', '1.17' ]
5117
name: Go ${{ matrix.go }}
5218

5319
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)