From e8201c8664d6573bede2c2e04b559e5854a0474d Mon Sep 17 00:00:00 2001 From: Yannic Date: Sat, 26 Oct 2024 09:34:08 -0700 Subject: [PATCH] [ci] Build all targets (#8) --- .github/workflows/main.yml | 33 +++------------------------------ .gitignore | 3 +++ 2 files changed, 6 insertions(+), 30 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3df841d..8063e80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,6 +2,7 @@ name: CI on: workflow_dispatch: + pull_request: push: branches: - "main" @@ -18,33 +19,5 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up authentication - shell: bash - run: cp infra/bazelrc .bazelrc.user - - - name: Build api - run: bazel build //engflow/api/... - - - name: Build auth - run: bazel build //engflow/auth/... - - - name: Build cluster - run: bazel build //engflow/cluster/... - - - name: Build eventstore - run: bazel build //engflow/eventstore/... - - - name: Build iam - run: bazel build //engflow/iam/... - - - name: Build notification - run: bazel build //engflow/notification/... - - - name: Build resourceusage - run: bazel build //engflow/resourceusage/... - - - name: Build resultstore - run: bazel build //engflow/resultstore/... - - - name: Build type - run: bazel build //engflow/type/... + - name: Build + run: bazel build //... diff --git a/.gitignore b/.gitignore index 7ecca0b..5cdf68e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ # User-specific bazelrc .bazelrc.user +# bzlmod lockfile +MODULE.bazel.lock + # Bazel convinience symlinks. /bazel-* .ijwb