fix: Push OpenaAPI generator client version choice down to the bazel client #50
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
# virtual environments: https://github.com/actions/virtual-environments | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
# Caches and restores the bazelisk download directory. | ||
- name: Cache bazelisk download | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: bazel-cache | ||
with: | ||
path: ~/.cache/bazelisk | ||
key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.ref }} | ||
restore-keys: | | ||
${{ runner.os }}-${{ env.cache-name }}-development | ||
# Checks-out your repository under $GITHUB_WORKSPACE, which is the CWD for | ||
# the rest of the steps | ||
- uses: actions/checkout@v2 | ||
# Build | ||
- name: Build all target | ||
run: | | ||
cd internal/test/basic | ||
bazel build //... | ||
- name: Integration BCR test | ||
run: | | ||
cd internal/test/bcr | ||
bazel mod path | ||
bazel build //... | ||
- nam: Integration BCR with older version | ||
run: | | ||
cd internal/test/bcr-custom-version | ||
bazel build //... |