Skip to content

feat: add initial kcl run rules for bazel #4

feat: add initial kcl run rules for bazel

feat: add initial kcl run rules for bazel #4

Workflow file for this run

name: Continuous Integration
on:
# See https://docs.github.com/en/actions/reference/events-that-trigger-workflows.
pull_request:
jobs:
bazel-source-inspection:
runs-on: ubuntu-latest
steps:
- name: Check out VCS repository
uses: actions/checkout@v3
- name: Confirm Bazel files is formatted per "buildifier"
uses: thompsonja/bazel-buildifier@v0.4.0
with:
# See https://github.com/bazelbuild/buildtools/blob/master/WARNINGS.md.
warnings: -function-docstring,-module-docstring
buildifier_version: 6.1.0
build-test:
runs-on: ubuntu-latest
steps:
- name: Check out VCS repository
uses: actions/checkout@v3
- name: Build all Bazel targets
run: |
bazel build //...
shell: bash
- name: Test all Bazel targets
run: |
bazel test --test_output=errors //...
shell: bash