Skip to content

Commit

Permalink
Merge pull request #27 from krpc/djungelorm/update-actions
Browse files Browse the repository at this point in the history
Update actions
  • Loading branch information
djungelorm authored Jul 17, 2024
2 parents ae65900 + 014252b commit b326a91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/actions/bazel-fetch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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') }}
3 changes: 0 additions & 3 deletions .github/workflows/bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit b326a91

Please sign in to comment.