forked from 0LNetworkCommunity/libra-framework
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a278ac1
commit 1d9d1a4
Showing
6 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: nextest build cache | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
push: | ||
branches: [ci-nextest] | ||
schedule: | ||
# Run this every day at 01:00 UTC. | ||
- cron: 0 1 * * * | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build-test-artifacts: | ||
name: Build test artifacts | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
# By default actions/checkout checks out a merge commit. Check out the PR head instead. | ||
# https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: 1.77.2 | ||
override: true | ||
- name: Install nextest | ||
uses: taiki-e/install-action@nextest | ||
- name: Build and archive tests | ||
run: cargo nextest archive --archive-file nextest-archive.tar.zst | ||
- name: Upload archive to workflow | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: nextest-archive | ||
path: nextest-archive.tar.zst |
File renamed without changes.