| # This is just a version to compile the integration_test.go; see |
| # golangVersions in that file for the list of actual Go versions used. |
| os: [ubuntu-latest] # TODO: Add [macos-latest, windows-latest] |
| runs-on: ${{ matrix.os }} |
| - name: Install Linux dependencies |
| run: sudo apt-get -y install autoconf automake libtool curl make g++ unzip |
| uses: actions/checkout@v3 |
| uses: actions/setup-go@v4 |
| go-version: ${{ matrix.go-version }} |
| - name: Cache dependencies |
| key: ${{ runner.os }}-${{ hashFiles('integration_test.go') }} |
| # Protobuf 25 does not yet support Bazel 7 |
| USE_BAZEL_VERSION: latest-1 |
| run: go test -run='^TestIntegration$' -v -timeout=60m -count=1 -failfast "$@" |