Skip to content

Deploy workaround for skaffold and bazel #93

Deploy workaround for skaffold and bazel

Deploy workaround for skaffold and bazel #93

Workflow file for this run

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 //...