Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/buildifier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Setup Bazel
uses: bazel-contrib/[email protected]
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
- name: buildifier
run: bazel run --enable_bzlmod //.github/workflows:buildifier.check
26 changes: 10 additions & 16 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,12 @@ jobs:
steps:
- name: "Checkout the sources"
uses: actions/checkout@v7
- name: Mount bazel caches
uses: actions/cache@v6
- name: Setup Bazel
uses: bazel-contrib/[email protected]
with:
path: |
~/.cache/bazel
key: bazel-cache-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', 'WORKSPACE', 'WORKSPACE.bazel') }}
restore-keys: bazel-cache-
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v3
bazelisk-cache: true
disk-cache: ${{ github.workflow }}-${{ matrix.bazel_version }}
repository-cache: true
- name: "Running tests //..."
env:
USE_BAZEL_VERSION: ${{ matrix.bazel_version }}
Expand All @@ -51,15 +48,12 @@ jobs:
steps:
- name: "Checkout the sources"
uses: actions/checkout@v7
- name: Mount bazel caches
uses: actions/cache@v6
- name: Setup Bazel
uses: bazel-contrib/[email protected]
with:
path: |
~/.cache/bazel
key: bazel-cache-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', 'WORKSPACE', 'WORKSPACE.bazel') }}
restore-keys: bazel-cache-
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v3
bazelisk-cache: true
disk-cache: ${{ github.workflow }}-${{ matrix.bazel_version }}
repository-cache: true
- name: "Running integration tests ${{ matrix.directory }}"
env:
USE_BAZEL_VERSION: ${{ matrix.bazel_version }}
Expand Down