Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: test rust-cache #164 #3354

Closed
wants to merge 4 commits into from
Closed
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
2 changes: 1 addition & 1 deletion .github/actions/build-prql-python/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
steps:
- run: ./.github/set_version.sh
shell: bash
- uses: Swatinem/rust-cache@v2
- uses: NobodyXu/rust-cache@dep-toml
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
prefix-key: ${{ env.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build-prqlc/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
- run: ./.github/set_version.sh
shell: bash

- uses: Swatinem/rust-cache@v2
- uses: NobodyXu/rust-cache/action.yml@dep-toml
with:
# Share cache with `test-rust`, except for `musl` targets.
save-if:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/time-compilation/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
shell: bash
- name: 💰 Cache
id: cache
uses: Swatinem/rust-cache@v2
uses: NobodyXu/rust-cache/action.yml@dep-toml
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
prefix-key: ${{ env.version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ jobs:
uses: actions/checkout@v3
- run: ./.github/set_version.sh
- name: 💰 Cache
uses: Swatinem/rust-cache@v2
uses: NobodyXu/rust-cache/action.yml@dep-toml
with:
prefix-key: ${{ env.version }}
# The mac rust cache key. It's not _that_ useful since this will build
Expand Down Expand Up @@ -353,7 +353,7 @@ jobs:
crate: hyperlink
- run: ./.github/set_version.sh
- name: Cache
uses: Swatinem/rust-cache@v2
uses: NobodyXu/rust-cache/action.yml@dep-toml
with:
prefix-key: ${{ env.version }}
shared-key: web
Expand Down Expand Up @@ -381,7 +381,7 @@ jobs:
- run: ./.github/set_version.sh
shell: bash
- name: 💰 Cache
uses: Swatinem/rust-cache@v2
uses: NobodyXu/rust-cache/action.yml@dep-toml
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
prefix-key: ${{ env.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v3
- run: ./.github/set_version.sh
- name: 💰 Cache
uses: Swatinem/rust-cache@v2
uses: NobodyXu/rust-cache/action.yml@dep-toml
with:
prefix-key: ${{ env.version }}
save-if: ${{ github.ref == 'refs/heads/main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- run: ./.github/set_version.sh

- name: 💰 Cache
uses: Swatinem/rust-cache@v2
uses: NobodyXu/rust-cache/action.yml@dep-toml
id: cache
with:
prefix-key: ${{ env.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v3
- run: ./.github/set_version.sh
- name: 💰 Cache
uses: Swatinem/rust-cache@v2
uses: NobodyXu/rust-cache/action.yml@dep-toml
with:
prefix-key: ${{ env.version }}
save-if: ${{ github.ref == 'refs/heads/main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-php.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- run: ./.github/set_version.sh
- name: 💰 Cache
uses: Swatinem/rust-cache@v2
uses: NobodyXu/rust-cache/action.yml@dep-toml
with:
prefix-key: ${{ env.version }}
save-if: ${{ github.ref == 'refs/heads/main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- run: ./.github/set_version.sh
shell: bash
- name: 💰 Cache
uses: Swatinem/rust-cache@v2
uses: NobodyXu/rust-cache/action.yml@dep-toml
id: cache
with:
prefix-key: ${{ env.version }}
Expand Down
Loading