diff options
author | Yuxuan 'fishy' Wang <yuxuan.wang@reddit.com> | 2022-10-12 14:13:15 -0700 |
---|---|---|
committer | Yuxuan 'fishy' Wang <fishywang@gmail.com> | 2022-10-21 10:36:06 -0700 |
commit | 19c13b4cc697410b586b243123522c43e68e2f0c (patch) | |
tree | 12a77be60cdcc08cb6ec2d8714b4530e9306aff8 /.github | |
parent | baa0daa478c3b16876ccc0778f068fb72932dda6 (diff) | |
download | thrift-19c13b4cc697410b586b243123522c43e68e2f0c.tar.gz |
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
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 16 |
1 files changed, 14 insertions, 2 deletions
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 |