Skip to content

Commit

Permalink
ci: cache nextest
Browse files Browse the repository at this point in the history
  • Loading branch information
dndll authored and dndll committed Feb 22, 2024
1 parent b62cc2e commit 98b264f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:
cache-workspaces: |-
.
- name: "Install cargo-nextest"
run: cargo install cargo-nextest
uses: taiki-e/install-action@v2
with:
tool: nextest
- name: Build and archive tests
run: cargo nextest archive -r --workspace --archive-file nextest-archive.tar.zst --locked
- name: Upload archive to workflow
Expand All @@ -70,7 +72,9 @@ jobs:
cache-workspaces: |-
.
- name: "Install cargo-nextest"
run: cargo install cargo-nextest
uses: taiki-e/install-action@v2
with:
tool: nextest
- name: Download archive
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -102,7 +106,9 @@ jobs:
cache-workspaces: |-
.
- name: "Install cargo-nextest"
run: cargo install cargo-nextest
uses: taiki-e/install-action@v2
with:
tool: nextest
- name: Download archive
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 98b264f

Please sign in to comment.