Skip to content

Commit 7f7d2cd

Browse files
committed
Configure Dependabot and update dependencies
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 parent 493247a commit 7f7d2cd

File tree

3 files changed

+46
-21
lines changed

3 files changed

+46
-21
lines changed

.github/dependabot.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
version: 2
16+
updates:
17+
- package-ecosystem: bazel
18+
directory: /
19+
groups:
20+
dependencies:
21+
patterns:
22+
- "*"
23+
schedule:
24+
interval: monthly
25+
26+
- package-ecosystem: github-actions
27+
directory: /
28+
groups:
29+
dependencies:
30+
patterns:
31+
- "*"
32+
schedule:
33+
interval: monthly

.github/workflows/cpp.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
runs-on: ubuntu-22.04
3838

3939
steps:
40-
- uses: actions/checkout@v2
41-
- uses: actions/setup-go@v2
40+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
41+
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
4242
with:
4343
go-version: '^1.16'
4444

@@ -64,21 +64,13 @@ jobs:
6464
runs-on: ubuntu-22.04
6565

6666
steps:
67-
- uses: actions/checkout@v1
67+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
6868

69-
- name: Mount bazel cache
70-
uses: actions/cache@v4
69+
- uses: bazel-contrib/setup-bazel@43d7d5ceab59a307da44fc7585faa2a2fff4f88d # v0.16.0
7170
with:
72-
path: "/home/runner/.cache/bazel"
73-
key: bazel
74-
75-
- name: Install bazelisk
76-
run: |
77-
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.1.0/bazelisk-linux-amd64"
78-
mkdir -p "${GITHUB_WORKSPACE}/bin/"
79-
mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel"
80-
chmod +x "${GITHUB_WORKSPACE}/bin/bazel"
71+
bazelisk-cache: true
72+
disk-cache: ${{ github.workflow }}
73+
repository-cache: true
8174

8275
- name: Test
83-
run: |
84-
"${GITHUB_WORKSPACE}/bin/bazel" build //...
76+
run: bazel build //...

MODULE.bazel

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,27 @@ module(
2020

2121
bazel_dep(
2222
name = "emsdk",
23-
version = "4.0.13",
23+
version = "4.0.17",
2424
)
2525
bazel_dep(
2626
name = "platforms",
2727
version = "1.0.0",
2828
)
2929
bazel_dep(
3030
name = "protobuf",
31-
version = "29.3",
31+
version = "33.2",
3232
repo_name = "com_google_protobuf",
3333
)
3434
bazel_dep(
3535
name = "re2",
36-
version = "2024-07-02.bcr.1",
36+
version = "2025-11-05.bcr.1",
3737
repo_name = "com_google_re2",
3838
)
3939
bazel_dep(
4040
name = "rules_cc",
41-
version = "0.2.0",
41+
version = "0.2.16",
4242
)
4343
bazel_dep(
4444
name = "rules_python",
45-
version = "1.4.1",
45+
version = "1.7.0",
4646
)

0 commit comments

Comments
 (0)