-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update all the things, move the CLI back into this repo, use toolchai…
…ns instead of bind
- Loading branch information
Showing
41 changed files
with
4,445 additions
and
896 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
bazelbuild/6.3.2 | ||
bazelbuild/7.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,16 +11,37 @@ jobs: | |
USE_BAZEL_VERSION: ${{ matrix.bazel_version }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
bazel_version: [bazelbuild/6.5.0, bazelbuild/7.1.1] | ||
os: [ubuntu-24.04] | ||
bazel_version: [bazelbuild/7.3.1] | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
- uses: bazel-contrib/[email protected].1 | ||
- uses: bazel-contrib/[email protected].5 | ||
with: | ||
bazelisk-version: 1.19.0 | ||
bazelisk-version: 1.20.0 | ||
- run: cat .bazelrc.ci >> .bazelrc | ||
- run: ./scripts/lint.sh | ||
- run: ./scripts/format.sh check | ||
- run: ./test/run_all_tests.sh ci | ||
- run: ./scripts/gen-docs.sh && git diff --exit-code docs/ | ||
- run: bazel shutdown | ||
|
||
publish: | ||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') | ||
needs: build-and-test | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
- uses: bazel-contrib/[email protected] | ||
with: | ||
bazelisk-version: 1.20.0 | ||
- run: cat .bazelrc.ci >> .bazelrc | ||
- name: Import gpg keys | ||
run: echo "$PGP_SECRET" | base64 --decode | gpg --import | ||
env: | ||
PGP_SECRET: ${{ secrets.PGP_SECRET }} | ||
- name: Publish to Maven | ||
run: ./scripts/publish.sh | ||
env: | ||
MAVEN_USER: ${{ secrets.SONATYPE_USERNAME }} | ||
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier") | ||
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier", "buildifier_test") | ||
load( | ||
"@rules_java//toolchains:default_java_toolchain.bzl", | ||
"DEFAULT_TOOLCHAIN_CONFIGURATION", | ||
"default_java_toolchain", | ||
) | ||
|
||
buildifier(name = "buildifier") | ||
default_java_toolchain( | ||
name = "repository_default_toolchain_21", | ||
configuration = DEFAULT_TOOLCHAIN_CONFIGURATION, | ||
java_runtime = "@rules_java//toolchains:remotejdk_21", | ||
javac_supports_worker_multiplex_sandboxing = True, | ||
source_version = "21", | ||
target_version = "21", | ||
) | ||
|
||
buildifier( | ||
name = "buildifier", | ||
) | ||
|
||
buildifier_test( | ||
name = "buildifier_check", | ||
mode = "check", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
############################################################################### | ||
# Bazel now uses Bzlmod by default to manage external dependencies. | ||
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel. | ||
# | ||
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958 | ||
############################################################################### |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.