Skip to content

Commit

Permalink
Switch to Bazelisk.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerC committed Jan 9, 2024
1 parent 9a87e0a commit 2dc3286
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 41 deletions.
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.4.0
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install bazel
run: tools/install_deps.sh
- name: Mount bazel cache
uses: actions/cache@v3
with:
path: "~/.cache/bazel"
key: bazel

- name: Run tests
run: tools/run_tests.sh
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ with [Bazel](https://bazel.build).
Setup
-----

Make sure Bazel is installed on your system. See the [Bazel
documentation](https://docs.bazel.build/versions/master/install.html) for
platform-specific instructions. We recommend using [Bazelisk](
https://bazel.build/install/bazelisk.html) to ensure you are using a supported
version.

To use the Dart rules, add the following to your `WORKSPACE` file to add the
external repositories for the Dart toolchain:

Expand Down
38 changes: 0 additions & 38 deletions tools/install_deps.sh

This file was deleted.

0 comments on commit 2dc3286

Please sign in to comment.