diff --git a/.github/actions/bazel-fetch/action.yml b/.github/actions/bazel-fetch/action.yml index 26d47be..912038d 100644 --- a/.github/actions/bazel-fetch/action.yml +++ b/.github/actions/bazel-fetch/action.yml @@ -28,7 +28,7 @@ runs: uses: actions/cache/restore@v4 with: path: ${{ env.BAZEL_CACHE_PATH }} - key: bazel-cache-${{ runner.os }}-${{ env.BAZEL_VERSION }}-${{ hashFiles('WORKSPACE.bazel') }} + key: bazel-cache-${{ runner.os }}-${{ env.BAZEL_VERSION }}-${{ hashFiles('MODULE.bazel') }} - name: bazel-fetch if: steps.bazel-cache.outputs.cache-hit != 'true' run: | @@ -40,4 +40,4 @@ runs: uses: actions/cache/save@v4 with: path: ${{ env.BAZEL_CACHE_PATH }} - key: bazel-cache-${{ runner.os }}-${{ env.BAZEL_VERSION }}-${{ hashFiles('WORKSPACE.bazel') }} + key: bazel-cache-${{ runner.os }}-${{ env.BAZEL_VERSION }}-${{ hashFiles('MODULE.bazel') }} diff --git a/.github/workflows/bazelrc b/.github/workflows/bazelrc index 22f76c2..2d3096f 100644 --- a/.github/workflows/bazelrc +++ b/.github/workflows/bazelrc @@ -4,6 +4,3 @@ test --test_strategy=standalone # Output errors to log test --test_output=errors - -# Host and target configurations are identical -build --distinct_host_configuration=false diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35fb0a4..0d45002 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: - name: checkout uses: actions/checkout@v4 - name: fetch - uses: krpc/krpc-core/.github/actions/bazel-fetch@main + uses: krpc/krpc-core/.github/actions/bazel-fetch@action-bazel-fetch-v1 - name: build run: > bazel build @@ -67,7 +67,7 @@ jobs: - name: checkout uses: actions/checkout@v4 - name: fetch - uses: krpc/krpc-core/.github/actions/bazel-fetch@main + uses: krpc/krpc-core/.github/actions/bazel-fetch@action-bazel-fetch-v1 - name: deps run: bazel build //:csproj - name: build @@ -94,7 +94,7 @@ jobs: - name: checkout uses: actions/checkout@v4 - name: fetch - uses: krpc/krpc-core/.github/actions/bazel-fetch@main + uses: krpc/krpc-core/.github/actions/bazel-fetch@action-bazel-fetch-v1 - name: test run: bazel test //core:test