Skip to content

Commit 217196a

Browse files
committed
fix(ci): use paths to limit the run of tests
1 parent 61b0cbf commit 217196a

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
- run: gh release create ${{ steps.version_info.outputs.version }} ./artifacts/*.{gz,zip} --generate-notes --draft
166166

167167
docker-build-and-push:
168-
runs-on: ubuntu-latest-4-cores
168+
runs-on: ubuntu-latest
169169
needs: [prepare, release]
170170

171171
steps:

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,22 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'crates/**'
9+
- 'examples/**'
10+
- 'bin/**'
11+
- 'xtask/**'
12+
- 'Cargo.toml'
13+
- 'Cargo.lock'
14+
715
pull_request:
16+
paths:
17+
- 'crates/**'
18+
- 'examples/**'
19+
- 'bin/**'
20+
- 'xtask/**'
21+
- 'Cargo.toml'
22+
- 'Cargo.lock'
823

924
env:
1025
CARGO_TERM_COLOR: always

0 commit comments

Comments
 (0)