Skip to content

Commit

Permalink
cicd: enable caching through Swatinem/rust-cache@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
grantlemons committed Jan 2, 2025
1 parent dd32dc7 commit e7f1721
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_harper_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Caching
uses: Swatinem/rust-cache@v2
with:
shared-key: "harper"
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Caching
uses: Swatinem/rust-cache@v2
with:
shared-key: "harper"
- uses: redhat-actions/buildah-build@v2
with:
image: web
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/package_vscode_plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Caching
uses: Swatinem/rust-cache@v2
with:
shared-key: "harper"
- uses: extractions/setup-just@v2
- uses: actions/setup-node@v4
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Caching
uses: Swatinem/rust-cache@v2
with:
shared-key: "harper"
- uses: extractions/setup-just@v2
- uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit e7f1721

Please sign in to comment.