Deploy workaround for skaffold and bazel #93
Workflow file for this run
This file contains 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, the bazel build directory. | |
- name: Cache bazel | |
uses: actions/cache@v3.3.1 | |
with: | |
path: | | |
~/.cache/bazelisk | |
~/.cache/bazel | |
key: ${{ runner.os }}-bazel-cache | |
# Checks-out your repository under $GITHUB_WORKSPACE, which is the CWD for | |
# the rest of the steps | |
- uses: actions/checkout@v3 | |
- name: Run the test | |
run: bazel test //... | |
- name: Build the code | |
run: bazel build //... | |
# name: CI | |
# on: | |
# push: | |
# branches: [ main ] | |
# pull_request: | |
# branches: [ main ] | |
# jobs: | |
# ci: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - uses: bazelbuild/setup-bazelisk@v1 | |
# - run: bazel build //... | |
# - run: bazel test //... |