Skip to content

Commit 18f5c74

Browse files
authored
ci(musl): only run on rust file changes (#676)
1 parent ef60b7f commit 18f5c74

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/ci_test_musl.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,17 @@ on:
44
push:
55
branches:
66
- master
7+
paths:
8+
- '**/*.rs'
9+
- '**/Cargo.toml'
10+
- '.github/workflows/ci_test_musl.yml'
711
pull_request:
812
branches:
913
- master
14+
paths:
15+
- '**/*.rs'
16+
- '**/Cargo.toml'
17+
- '.github/workflows/ci_test_musl.yml'
1018

1119
concurrency:
1220
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
@@ -45,4 +53,4 @@ jobs:
4553
ARGS+=("--target" "${{ matrix.setup.target }}")
4654
fi
4755
48-
cross test --workspace "${ARGS[@]}"
56+
cross test --workspace "${ARGS[@]}"

0 commit comments

Comments
 (0)