Skip to content

Commit b6c7033

Browse files
test(xtask): cover xtask Cargo unit tests
1 parent 2e34322 commit b6c7033

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/xtask.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: xtask
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "xtask/**/*"
7+
8+
env:
9+
#
10+
# Dependency versioning
11+
#
12+
13+
# This is the MSRV used by `wgpu` itself and all surrounding infrastructure.
14+
REPO_MSRV: "1.88"
15+
16+
#
17+
# Environment variables
18+
#
19+
20+
CARGO_INCREMENTAL: false
21+
CARGO_TERM_COLOR: always
22+
RUST_LOG: info
23+
RUST_BACKTRACE: "1"
24+
CACHE_SUFFIX: c # cache busting
25+
26+
jobs:
27+
changelog:
28+
timeout-minutes: 2
29+
30+
name: Check changelog for errors
31+
runs-on: ubuntu-latest
32+
33+
steps:
34+
- name: Checkout repo
35+
uses: actions/checkout@v5
36+
with:
37+
fetch-depth: 0
38+
39+
- name: Run `cargo xtask changelog …`
40+
run: |
41+
cd xtask
42+
cargo test

0 commit comments

Comments
 (0)