Skip to content

Commit

Permalink
refactor: remove unused ci steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mgred committed Jun 9, 2024
1 parent 5289d5a commit 57c2f7f
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,14 @@ env:
XDG_CACHE_HOME: ~/.cache/bazel-repo

jobs:
pre-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Mount bazel caches
uses: actions/cache@v3
with:
path: |
~/.cache/bazel
~/.cache/bazel-repo
key: bazel-cache-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', 'WORKSPACE') }}
restore-keys: bazel-cache-
- name: bazel test //:lint
run: >
bazel
--bazelrc=${{ github.workspace }}/.bazelrc
--bazelrc=${{ github.workspace }}/.github/workflows/ci.bazelrc
test //:lint
test:
needs: ["pre-test"]
runs-on: ubuntu-latest
strategy:
matrix:
bazelversion:
- 7.0.0
folder:
- "."
- "e2e"
steps:
- uses: actions/checkout@v4
- name: Mount bazel caches
Expand All @@ -47,7 +27,7 @@ jobs:
path: |
~/.cache/bazel
~/.cache/bazel-repo
key: bazel-cache-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', 'WORKSPACE') }}
key: bazel-cache-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', 'MODULE.bazel') }}
restore-keys: bazel-cache-
- name: bazel test //...
working-directory: ${{ matrix.folder }}
Expand Down

0 comments on commit 57c2f7f

Please sign in to comment.