Remove the legacy builders () ()

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.

(cherry picked from commit df7084d36a)
This commit is contained in:
lhchavez 2021-09-04 12:57:39 -07:00 committed by GitHub
parent deb154820c
commit ab793028ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 39 deletions
.github/workflows

View File

@ -7,11 +7,12 @@ on:
jobs: jobs:
backport: backport:
name: Backport change to branch ${{ matrix.branch }}
continue-on-error: true
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
branch: [ 'release-0.28', 'release-0.27' ] branch: [ 'release-0.28', 'release-0.27' ]
name: Backport change to branch ${{ matrix.branch }}
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04

View File

@ -9,45 +9,11 @@ on:
jobs: jobs:
build-legacy:
strategy:
fail-fast: false
matrix:
go: [ '1.9', '1.10' ]
name: Go ${{ matrix.go }}
runs-on: ubuntu-18.04
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the GOPATH
uses: actions/checkout@v1
with:
fetch-depth: 1
path: src/github.com/${{ github.repository }}
- name: Build
env:
GOPATH: /home/runner/work/git2go
run: |
git submodule update --init
sudo apt-get install -y --no-install-recommends libssh2-1-dev
make build-libgit2-static
go get -tags static -t github.com/${{ github.repository }}/...
go build -tags static github.com/${{ github.repository }}/...
- name: Test
env:
GOPATH: /home/runner/work/git2go
run: make TEST_ARGS=-test.v test-static
build-static: build-static:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
go: [ '1.11', '1.12', '1.13', '1.14', '1.15' ] go: [ '1.11', '1.12', '1.13', '1.14', '1.15', '1.16', '1.17' ]
name: Go ${{ matrix.go }} name: Go ${{ matrix.go }}
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
@ -79,7 +45,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: '1.15' go-version: '1.17'
id: go id: go
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v1 uses: actions/checkout@v1
@ -102,7 +68,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: '1.15' go-version: '1.17'
id: go id: go
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v1 uses: actions/checkout@v1
@ -125,7 +91,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: '1.15' go-version: '1.17'
id: go id: go
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v1 uses: actions/checkout@v1