Skip to content

Commit 203c9eb

Browse files
chore: fix dependabot groups (#253)
1 parent a8b36e3 commit 203c9eb

14 files changed

Lines changed: 155 additions & 144 deletions

File tree

.github/dependabot.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ updates:
1111
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference#groups--
1212
# 1 PR per week and group
1313
groups:
14-
major:
14+
cargo-major:
1515
update-types: ["major"]
16-
minor:
16+
cargo-minor:
1717
update-types: ["minor"]
18-
patch:
18+
cargo-patch:
1919
update-types: ["patch"]
2020
- package-ecosystem: github-actions
2121
directory: /
@@ -29,6 +29,7 @@ updates:
2929
directory: /
3030
schedule:
3131
interval: weekly
32+
groups:
3233
prd-major:
3334
dependency-type: "production"
3435
update-types: ["major"]

.github/workflows/buildjet.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
buildjet:
7+
if: github.repository == 'Swatinem/rust-cache'
78
strategy:
89
fail-fast: false
910
matrix:
@@ -16,7 +17,7 @@ jobs:
1617
CARGO_TERM_COLOR: always
1718

1819
steps:
19-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2021

2122
- run: rustup toolchain install stable --profile minimal --no-self-update
2223

.github/workflows/check-dist.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ on:
1313

1414
jobs:
1515
check-dist:
16+
if: github.repository == 'Swatinem/rust-cache'
1617
runs-on: ubuntu-latest
1718
steps:
18-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
1920

2021
- name: Setup Node.js 20.x
2122
uses: actions/setup-node@v4

.github/workflows/coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
coverage:
7+
if: github.repository == 'Swatinem/rust-cache'
78
strategy:
89
fail-fast: false
910
matrix:
@@ -16,7 +17,7 @@ jobs:
1617
CARGO_TERM_COLOR: always
1718

1819
steps:
19-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2021

2122
- run: rustup toolchain install stable --profile minimal --component llvm-tools-preview --no-self-update
2223

.github/workflows/git-registry.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
git-registry:
7+
if: github.repository == 'Swatinem/rust-cache'
78
strategy:
89
fail-fast: false
910
matrix:
@@ -17,7 +18,7 @@ jobs:
1718
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
1819

1920
steps:
20-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2122

2223
- run: rustup toolchain install stable --profile minimal --no-self-update
2324

.github/workflows/install.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
install:
7+
if: github.repository == 'Swatinem/rust-cache'
78
strategy:
89
fail-fast: false
910
matrix:
@@ -16,7 +17,7 @@ jobs:
1617
CARGO_TERM_COLOR: always
1718

1819
steps:
19-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2021

2122
- run: rustup toolchain install stable --profile minimal --no-self-update
2223

.github/workflows/simple.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
simple:
7+
if: github.repository == 'Swatinem/rust-cache'
78
strategy:
89
fail-fast: false
910
matrix:
@@ -16,7 +17,7 @@ jobs:
1617
CARGO_TERM_COLOR: always
1718

1819
steps:
19-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2021

2122
- run: rustup toolchain install stable --profile minimal --no-self-update
2223

.github/workflows/target-dir.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
target-dir:
7+
if: github.repository == 'Swatinem/rust-cache'
78
strategy:
89
fail-fast: false
910
matrix:
@@ -16,7 +17,7 @@ jobs:
1617
CARGO_TERM_COLOR: always
1718

1819
steps:
19-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2021

2122
- run: rustup toolchain install stable --profile minimal --no-self-update
2223

.github/workflows/workspaces.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
workspaces:
7+
if: github.repository == 'Swatinem/rust-cache'
78
strategy:
89
fail-fast: false
910
matrix:
@@ -16,7 +17,7 @@ jobs:
1617
CARGO_TERM_COLOR: always
1718

1819
steps:
19-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2021

2122
- run: rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown --no-self-update
2223

@@ -26,8 +27,10 @@ jobs:
2627
tests
2728
tests/wasm-workspace
2829
29-
- run: cargo check
30+
- name: cargo check (tests)
3031
working-directory: tests
32+
run: cargo check
3133

32-
- run: cargo check
34+
- name: cargo check (tests/wasm-workspace)
3335
working-directory: tests/wasm-workspace
36+
run: cargo check

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sensible defaults.
66
## Example usage
77

88
```yaml
9-
- uses: actions/checkout@v4
9+
- uses: actions/checkout@v5
1010

1111
# selecting a toolchain either by action or manual `rustup` calls should happen
1212
# before the plugin, as the cache uses the current rustc version as its cache key

0 commit comments

Comments
 (0)