Skip to content

Commit 8ef1058

Browse files
committed
Merge branch 'main' into tm/cargo-build-wasi-sdk
2 parents 44e381e + 8c0ac44 commit 8ef1058

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+5634
-1375
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
---
22
version: 2
33
updates:
4+
# daily Cargo updates of direct dependencies
45
- package-ecosystem: "cargo"
56
directory: "/"
67
schedule:
78
interval: "daily"
89
open-pull-requests-limit: 10
9-
# NOTE: groups are "match first", and "unmatched dependencies have individual PRs"
10+
# Make it also update transitive dependencies in Cargo.lock
11+
allow:
12+
- dependency-type: "all"
13+
# NOTE: Groups are "match first", and "unmatched dependencies have individual PRs".
14+
# By default, groups only match ordinary version updates. Security updates are
15+
# NOT matched.
1016
groups:
1117
apache:
1218
patterns:
@@ -19,6 +25,12 @@ updates:
1925
patterns:
2026
- "wasmtime"
2127
- "wasmtime-*"
28+
# Catch-all group to bundle version updates (but not security updates) everything
29+
# else into a single PR.
30+
rust-other:
31+
patterns:
32+
- "*"
33+
- "*"
2234
- package-ecosystem: "github-actions"
2335
directory: "/"
2436
schedule:

.github/workflows/ci.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,18 @@ jobs:
4444
df -h
4545
4646
- name: Checkout
47-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
47+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4848
with:
4949
fetch-depth: 1
5050

51+
- name: Fetch main branch
52+
run: git fetch --depth=1 origin main
53+
5154
- name: Install `yamllint`
5255
run: pip install --requirement=.github/workflows/requirements.txt
5356

5457
- name: Install `cargo-deny` & `just` & 'typos'
55-
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
58+
uses: taiki-e/install-action@62da238c048aa0f865cc5a322082957d34e7fc1a # v2
5659
with:
5760
tool: cargo-deny,just,typos
5861

@@ -89,6 +92,16 @@ jobs:
8992
# "1" means line tables only, which is useful for panic tracebacks.
9093
CARGO_PROFILE_DEV_DEBUG: "1"
9194

95+
- name: Check Cargo.lock
96+
shell: bash
97+
run: |
98+
if ! git diff --exit-code -- Cargo.lock; then
99+
echo "::error::Cargo.lock changed, please commit your local changes!"
100+
exit 1
101+
else
102+
echo "Good. Cargo.lock is up to date"
103+
fi
104+
92105
- name: upload docs
93106
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
94107
with:

0 commit comments

Comments
 (0)