mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[bazel] Enforce up-to-date lock file in CI (#8860)
The Bazel lock file was missing a few dependencies. This adds a check in CI that the lock file is up-to-date.
This commit is contained in:
21
.github/workflows/bazel.yml
vendored
21
.github/workflows/bazel.yml
vendored
@@ -137,6 +137,27 @@ jobs:
|
|||||||
path: "*-bazel-lint-fixes.patch"
|
path: "*-bazel-lint-fixes.patch"
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
|
|
||||||
|
mod-lock:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Check lockfile
|
||||||
|
run: bazel mod deps --lockfile_mode=error
|
||||||
|
|
||||||
|
- run: bazel mod deps --lockfile_mode=update
|
||||||
|
if: ${{ failure() }}
|
||||||
|
|
||||||
|
- name: Generate diff
|
||||||
|
run: git diff HEAD > bazel-mod-lock-fixes.patch
|
||||||
|
if: ${{ failure() }}
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
archive: false
|
||||||
|
path: "bazel-mod-lock-fixes.patch"
|
||||||
|
if: ${{ failure() }}
|
||||||
|
|
||||||
non_robotpy_pregeneration:
|
non_robotpy_pregeneration:
|
||||||
name: "Non-RobotPy Pregen"
|
name: "Non-RobotPy Pregen"
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|||||||
309
MODULE.bazel.lock
generated
309
MODULE.bazel.lock
generated
@@ -204,6 +204,156 @@
|
|||||||
},
|
},
|
||||||
"selectedYankedVersions": {},
|
"selectedYankedVersions": {},
|
||||||
"moduleExtensions": {
|
"moduleExtensions": {
|
||||||
|
"@@pybind11_bazel+//:internal_configure.bzl%internal_configure_extension": {
|
||||||
|
"general": {
|
||||||
|
"bzlTransitiveDigest": "uxP2cZuW027Q8wpZbeJeuW5MXcNBO8GcOK/LNN2sPvQ=",
|
||||||
|
"usagesDigest": "D1r3lfzMuUBFxgG8V6o0bQTLMk3GkaGOaPzw53wrwyw=",
|
||||||
|
"recordedFileInputs": {
|
||||||
|
"@@pybind11_bazel+//MODULE.bazel": "e6f4c20442eaa7c90d7190d8dc539d0ab422f95c65a57cc59562170c58ae3d34"
|
||||||
|
},
|
||||||
|
"recordedDirentsInputs": {},
|
||||||
|
"envVariables": {},
|
||||||
|
"generatedRepoSpecs": {
|
||||||
|
"pybind11": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"build_file": "@@pybind11_bazel+//:pybind11-BUILD.bazel",
|
||||||
|
"strip_prefix": "pybind11-2.12.0",
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/pybind/pybind11/archive/v2.12.0.zip"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"recordedRepoMappingEntries": [
|
||||||
|
[
|
||||||
|
"pybind11_bazel+",
|
||||||
|
"bazel_tools",
|
||||||
|
"bazel_tools"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@@rules_apple+//apple:apple.bzl%provisioning_profile_repository_extension": {
|
||||||
|
"general": {
|
||||||
|
"bzlTransitiveDigest": "D1LPRZW/AxccDtwiSIAzTPVkOCIgLVT6zYQHYG7g9u4=",
|
||||||
|
"usagesDigest": "vsJl8Rw5NL+5Ag2wdUDoTeRF/5klkXO8545Iy7U1Q08=",
|
||||||
|
"recordedFileInputs": {},
|
||||||
|
"recordedDirentsInputs": {},
|
||||||
|
"envVariables": {},
|
||||||
|
"generatedRepoSpecs": {
|
||||||
|
"local_provisioning_profiles": {
|
||||||
|
"repoRuleId": "@@rules_apple+//apple/internal:local_provisioning_profiles.bzl%provisioning_profile_repository",
|
||||||
|
"attributes": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"recordedRepoMappingEntries": [
|
||||||
|
[
|
||||||
|
"apple_support+",
|
||||||
|
"bazel_skylib",
|
||||||
|
"bazel_skylib+"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"bazel_tools",
|
||||||
|
"rules_cc",
|
||||||
|
"rules_cc+"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_apple+",
|
||||||
|
"bazel_skylib",
|
||||||
|
"bazel_skylib+"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_apple+",
|
||||||
|
"bazel_tools",
|
||||||
|
"bazel_tools"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_apple+",
|
||||||
|
"build_bazel_apple_support",
|
||||||
|
"apple_support+"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_apple+",
|
||||||
|
"build_bazel_rules_swift",
|
||||||
|
"rules_swift+"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_cc+",
|
||||||
|
"bazel_tools",
|
||||||
|
"bazel_tools"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_cc+",
|
||||||
|
"cc_compatibility_proxy",
|
||||||
|
"rules_cc++compatibility_proxy+cc_compatibility_proxy"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_cc+",
|
||||||
|
"rules_cc",
|
||||||
|
"rules_cc+"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_cc++compatibility_proxy+cc_compatibility_proxy",
|
||||||
|
"rules_cc",
|
||||||
|
"rules_cc+"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_swift+",
|
||||||
|
"bazel_skylib",
|
||||||
|
"bazel_skylib+"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_swift+",
|
||||||
|
"bazel_tools",
|
||||||
|
"bazel_tools"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_swift+",
|
||||||
|
"build_bazel_apple_support",
|
||||||
|
"apple_support+"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_swift+",
|
||||||
|
"build_bazel_rules_swift",
|
||||||
|
"rules_swift+"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_swift+",
|
||||||
|
"build_bazel_rules_swift_local_config",
|
||||||
|
"rules_swift++non_module_deps+build_bazel_rules_swift_local_config"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@@rules_apple+//apple:extensions.bzl%non_module_deps": {
|
||||||
|
"general": {
|
||||||
|
"bzlTransitiveDigest": "UsflLeiazyu2v5pvibcvOeIdDV95S25rT96h4XU1nhY=",
|
||||||
|
"usagesDigest": "M3VqFpeTCo4qmrNKGZw0dxBHvTYDrfV3cscGzlSAhQ4=",
|
||||||
|
"recordedFileInputs": {},
|
||||||
|
"recordedDirentsInputs": {},
|
||||||
|
"envVariables": {},
|
||||||
|
"generatedRepoSpecs": {
|
||||||
|
"xctestrunner": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/google/xctestrunner/archive/b7698df3d435b6491b4b4c0f9fc7a63fbed5e3a6.tar.gz"
|
||||||
|
],
|
||||||
|
"strip_prefix": "xctestrunner-b7698df3d435b6491b4b4c0f9fc7a63fbed5e3a6",
|
||||||
|
"sha256": "ae3a063c985a8633cb7eb566db21656f8db8eb9a0edb8c182312c7f0db53730d"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"recordedRepoMappingEntries": [
|
||||||
|
[
|
||||||
|
"rules_apple+",
|
||||||
|
"bazel_tools",
|
||||||
|
"bazel_tools"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"@@rules_bzlmodrio_toolchains+//:extensions.bzl%sh_configure": {
|
"@@rules_bzlmodrio_toolchains+//:extensions.bzl%sh_configure": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "q+0LgnvjpZ9Y2r2JYzNeYCKGLphbczG73lZ3rBg+XhM=",
|
"bzlTransitiveDigest": "q+0LgnvjpZ9Y2r2JYzNeYCKGLphbczG73lZ3rBg+XhM=",
|
||||||
@@ -852,6 +1002,165 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"@@rules_swift+//swift:extensions.bzl%non_module_deps": {
|
||||||
|
"general": {
|
||||||
|
"bzlTransitiveDigest": "WQxCEBSXJEaQYe860JXZvAQug2B6+/VbBtRIDMF0pOc=",
|
||||||
|
"usagesDigest": "mhACFnrdMv9Wi0Mt67bxocJqviRkDSV+Ee5Mqdj5akA=",
|
||||||
|
"recordedFileInputs": {},
|
||||||
|
"recordedDirentsInputs": {},
|
||||||
|
"envVariables": {},
|
||||||
|
"generatedRepoSpecs": {
|
||||||
|
"com_github_apple_swift_protobuf": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/apple/swift-protobuf/archive/1.20.2.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "3fb50bd4d293337f202d917b6ada22f9548a0a0aed9d9a4d791e6fbd8a246ebb",
|
||||||
|
"strip_prefix": "swift-protobuf-1.20.2/",
|
||||||
|
"build_file": "@@rules_swift+//third_party:com_github_apple_swift_protobuf/BUILD.overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com_github_grpc_grpc_swift": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/grpc/grpc-swift/archive/1.16.0.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "58b60431d0064969f9679411264b82e40a217ae6bd34e17096d92cc4e47556a5",
|
||||||
|
"strip_prefix": "grpc-swift-1.16.0/",
|
||||||
|
"build_file": "@@rules_swift+//third_party:com_github_grpc_grpc_swift/BUILD.overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com_github_apple_swift_docc_symbolkit": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/apple/swift-docc-symbolkit/archive/refs/tags/swift-5.10-RELEASE.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "de1d4b6940468ddb53b89df7aa1a81323b9712775b0e33e8254fa0f6f7469a97",
|
||||||
|
"strip_prefix": "swift-docc-symbolkit-swift-5.10-RELEASE",
|
||||||
|
"build_file": "@@rules_swift+//third_party:com_github_apple_swift_docc_symbolkit/BUILD.overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com_github_apple_swift_nio": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/apple/swift-nio/archive/2.42.0.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "e3304bc3fb53aea74a3e54bd005ede11f6dc357117d9b1db642d03aea87194a0",
|
||||||
|
"strip_prefix": "swift-nio-2.42.0/",
|
||||||
|
"build_file": "@@rules_swift+//third_party:com_github_apple_swift_nio/BUILD.overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com_github_apple_swift_nio_http2": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/apple/swift-nio-http2/archive/1.26.0.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "f0edfc9d6a7be1d587e5b403f2d04264bdfae59aac1d74f7d974a9022c6d2b25",
|
||||||
|
"strip_prefix": "swift-nio-http2-1.26.0/",
|
||||||
|
"build_file": "@@rules_swift+//third_party:com_github_apple_swift_nio_http2/BUILD.overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com_github_apple_swift_nio_transport_services": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/apple/swift-nio-transport-services/archive/1.15.0.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "f3498dafa633751a52b9b7f741f7ac30c42bcbeb3b9edca6d447e0da8e693262",
|
||||||
|
"strip_prefix": "swift-nio-transport-services-1.15.0/",
|
||||||
|
"build_file": "@@rules_swift+//third_party:com_github_apple_swift_nio_transport_services/BUILD.overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com_github_apple_swift_nio_extras": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/apple/swift-nio-extras/archive/1.4.0.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "4684b52951d9d9937bb3e8ccd6b5daedd777021ef2519ea2f18c4c922843b52b",
|
||||||
|
"strip_prefix": "swift-nio-extras-1.4.0/",
|
||||||
|
"build_file": "@@rules_swift+//third_party:com_github_apple_swift_nio_extras/BUILD.overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com_github_apple_swift_log": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/apple/swift-log/archive/1.4.4.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "48fe66426c784c0c20031f15dc17faf9f4c9037c192bfac2f643f65cb2321ba0",
|
||||||
|
"strip_prefix": "swift-log-1.4.4/",
|
||||||
|
"build_file": "@@rules_swift+//third_party:com_github_apple_swift_log/BUILD.overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com_github_apple_swift_nio_ssl": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/apple/swift-nio-ssl/archive/2.23.0.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "4787c63f61dd04d99e498adc3d1a628193387e41efddf8de19b8db04544d016d",
|
||||||
|
"strip_prefix": "swift-nio-ssl-2.23.0/",
|
||||||
|
"build_file": "@@rules_swift+//third_party:com_github_apple_swift_nio_ssl/BUILD.overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com_github_apple_swift_collections": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/apple/swift-collections/archive/1.0.4.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "d9e4c8a91c60fb9c92a04caccbb10ded42f4cb47b26a212bc6b39cc390a4b096",
|
||||||
|
"strip_prefix": "swift-collections-1.0.4/",
|
||||||
|
"build_file": "@@rules_swift+//third_party:com_github_apple_swift_collections/BUILD.overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"com_github_apple_swift_atomics": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/apple/swift-atomics/archive/1.1.0.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "1bee7f469f7e8dc49f11cfa4da07182fbc79eab000ec2c17bfdce468c5d276fb",
|
||||||
|
"strip_prefix": "swift-atomics-1.1.0/",
|
||||||
|
"build_file": "@@rules_swift+//third_party:com_github_apple_swift_atomics/BUILD.overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"build_bazel_rules_swift_index_import": {
|
||||||
|
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"build_file": "@@rules_swift+//third_party:build_bazel_rules_swift_index_import/BUILD.overlay",
|
||||||
|
"canonical_id": "index-import-5.8",
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/MobileNativeFoundation/index-import/releases/download/5.8.0.1/index-import.tar.gz"
|
||||||
|
],
|
||||||
|
"sha256": "28c1ffa39d99e74ed70623899b207b41f79214c498c603915aef55972a851a15"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"build_bazel_rules_swift_local_config": {
|
||||||
|
"repoRuleId": "@@rules_swift+//swift/internal:swift_autoconfiguration.bzl%swift_autoconfiguration",
|
||||||
|
"attributes": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"recordedRepoMappingEntries": [
|
||||||
|
[
|
||||||
|
"rules_swift+",
|
||||||
|
"bazel_tools",
|
||||||
|
"bazel_tools"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"rules_swift+",
|
||||||
|
"build_bazel_rules_swift",
|
||||||
|
"rules_swift+"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"facts": {}
|
"facts": {}
|
||||||
|
|||||||
Reference in New Issue
Block a user