From 3894d16cc48263e1aafebb8df01cb13ef8884200 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Fri, 29 Jan 2021 12:36:16 +0800 Subject: [PATCH] disable Go 1.16 on CI, fix cross compile workflow --- .github/workflows/cross-compile.yml | 6 ++++-- .github/workflows/integration.yml | 2 +- .github/workflows/unit.yml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cross-compile.yml b/.github/workflows/cross-compile.yml index bfe9c1791..5d3ccdc5f 100644 --- a/.github/workflows/cross-compile.yml +++ b/.github/workflows/cross-compile.yml @@ -4,7 +4,7 @@ jobs: strategy: fail-fast: false matrix: - go: [ "1.14.x", "1.15.x", "1.16.0-beta1" ] + go: [ "1.14.x", "1.15.x" ] runs-on: ubuntu-latest name: "Cross Compilation (Go ${{matrix.go}})" steps: @@ -14,7 +14,9 @@ jobs: stable: '!contains(${{ matrix.go }}, "beta") && !contains(${{ matrix.go }}, "rc")' go-version: ${{ matrix.go }} - name: Install build utils - run: sudo apt-get install -y gcc-multilib + run: | + sudo apt-get update + sudo apt-get install -y gcc-multilib - name: Install dependencies run: go build example/main.go - name: Run cross compilation diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index cef3ee59f..466779875 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -5,7 +5,7 @@ jobs: strategy: fail-fast: false matrix: - go: [ "1.14.x", "1.15.x", "1.16.0-beta1" ] + go: [ "1.14.x", "1.15.x" ] runs-on: ubuntu-latest name: Integration Tests, Go ${{ matrix.go }}) steps: diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 2de460fae..e94aef284 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -7,7 +7,7 @@ jobs: fail-fast: false matrix: os: [ "ubuntu", "windows", "macos" ] - go: [ "1.14.x", "1.15.x", "1.16.0-beta1" ] + go: [ "1.14.x", "1.15.x" ] runs-on: ${{ matrix.os }}-latest name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }}) steps: