mirror of
https://github.com/google/go-jsonnet.git
synced 2026-05-05 20:16:12 +02:00
Add a CI test that exercises bazel builds
If it's not tested, then it doesn't work. Add a CI test that executes `bazel build //...` and `bazel test //...`, in addition to the non-bazel build system.
This commit is contained in:
parent
0a32b8c327
commit
3f664d81b3
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -50,6 +50,20 @@ jobs:
|
||||
CGO_ENABLED: "1"
|
||||
SKIP_PYTHON_BINDINGS_TESTS: ${{ matrix.SKIP_PYTHON_BINDINGS_TESTS }}
|
||||
|
||||
bazel:
|
||||
name: bazel test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.cache/bazel
|
||||
~/.cache/bazelisk
|
||||
key: ${{ runner.os }}-bazel-cache
|
||||
- run: bazel build //...
|
||||
- run: bazel test //...
|
||||
|
||||
all:
|
||||
name: Check all
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user