From 19c13b4cc697410b586b243123522c43e68e2f0c Mon Sep 17 00:00:00 2001 From: Yuxuan 'fishy' Wang Date: Wed, 12 Oct 2022 14:13:15 -0700 Subject: THRIFT-5650: Implement UUID in Go library Client: go This is only the library part of THRIFT-5650. I still have some open questions for the compiler part so that will be done later. While I'm here, also made some changes to go CI process: * Update ubuntu-bionic to use go 1.18 for travis * Update ubuntu-jammy to use the latest go 1.19.x for travis * Run both go 1.18 and 1.19 for github actions * Also run test/go tests for github actions --- .github/workflows/build.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a4ecaf47..b3ecd1eca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,12 +54,17 @@ jobs: lib-go: needs: compiler runs-on: ubuntu-20.04 + strategy: + matrix: + go: + - '1.18' + - '1.19' steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '>=1.17.0' + go-version: ${{ matrix.go }} - name: Install dependencies run: | @@ -110,13 +115,20 @@ jobs: - name: Run make for go run: make -C lib/go - - name: Run make check for go + - name: Run make check for lib/go run: make -C lib/go check + - name: Run make check for lib/go/test + run: make -C lib/go/test check + + - name: Run make check for test/go + run: make -C test/go check + - name: Run make precross for go test run: make -C test/go precross - name: Upload go precross artifacts + if: matrix.go == '1.19' uses: actions/upload-artifact@v3 with: name: go-precross -- cgit v1.2.1