This GitHub Action installs a precompiled buck2
binary from
https://github.com/facebook/buck2/releases/tag/latest.
name: test suite
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/install-buck2@latest
- run: buck build //...
Name | Description |
---|---|
prelude-submodule |
Optional. Relative path at which to checkout the buck2-prelude repo as a submodule at the correct commit matching the installed buck2 executable. |
Name | Description |
---|---|
prelude-hash |
Commit hash of the buck2-prelude repo that matches the installed buck2 executable. |