Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ updates:
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference#groups--
# 1 PR per week and group
groups:
major:
cargo-major:
update-types: ["major"]
minor:
cargo-minor:
update-types: ["minor"]
patch:
cargo-patch:
update-types: ["patch"]
- package-ecosystem: github-actions
directory: /
Expand All @@ -29,6 +29,7 @@ updates:
directory: /
schedule:
interval: weekly
groups:
prd-major:
dependency-type: "production"
update-types: ["major"]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/buildjet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push, pull_request]

jobs:
buildjet:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:
Expand All @@ -16,7 +17,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ on:

jobs:
check-dist:
if: github.repository == 'Swatinem/rust-cache'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Setup Node.js 20.x
uses: actions/setup-node@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push, pull_request]

jobs:
coverage:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:
Expand All @@ -16,7 +17,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/git-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push, pull_request]

jobs:
git-registry:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:
Expand All @@ -17,7 +18,7 @@ jobs:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push, pull_request]

jobs:
install:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:
Expand All @@ -16,7 +17,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push, pull_request]

jobs:
simple:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:
Expand All @@ -16,7 +17,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/target-dir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push, pull_request]

jobs:
target-dir:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:
Expand All @@ -16,7 +17,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/workspaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push, pull_request]

jobs:
workspaces:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:
Expand All @@ -16,7 +17,7 @@ jobs:
CARGO_TERM_COLOR: always

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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

Expand All @@ -26,8 +27,10 @@ jobs:
tests
tests/wasm-workspace

- run: cargo check
- name: cargo check (tests)
working-directory: tests
run: cargo check

- run: cargo check
- name: cargo check (tests/wasm-workspace)
working-directory: tests/wasm-workspace
run: cargo check
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sensible defaults.
## Example usage

```yaml
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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