Add clangd configuration file #804
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: rules_swiftnav | |
on: | |
pull_request: ~ | |
push: | |
branches: | |
- 'main' | |
jobs: | |
check-formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v5 | |
- uses: bazel-contrib/[email protected] | |
- name: Mount bazel cache | |
uses: actions/cache@v4 | |
with: | |
path: "~/.cache/bazel" | |
key: bazel | |
- name: Run format | |
run: | | |
bazel run //:buildifier | |
git diff --exit-code | |
example-small-world: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v5 | |
- uses: bazel-contrib/[email protected] | |
- name: Mount bazel cache | |
uses: actions/cache@v4 | |
with: | |
path: "~/.cache/bazel" | |
key: bazel-example-small-world | |
- name: Build and generate coverage | |
run: | | |
cd examples/small_world | |
./scripts/generate_coverage.sh | |
- name: Run format | |
run: | | |
bazel run //:buildifier | |
git diff --exit-code |