Skip to content

Commit 16ae9a9

Browse files
committed
Merge remote-tracking branch 'origin/16-add-action' into 16-add-action
2 parents 00fc013 + d704f29 commit 16ae9a9

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,29 @@ jobs:
7777
7878
- name: Build project
7979
run: cargo build --verbose --all-features
80+
81+
82+
report:
83+
name: Report
84+
needs: [build]
85+
runs-on: ubuntu-latest
86+
steps:
87+
- name: Checkout code
88+
uses: actions/checkout@v4
89+
90+
- name: Install Rust toolchain
91+
uses: dtolnay/rust-toolchain@stable
92+
93+
- name: Cache cargo registry
94+
uses: actions/cache@v4
95+
with:
96+
path: |
97+
~/.cargo/registry
98+
~/.cargo/git
99+
target
100+
key: ${{ runner.os }}-cargo-report-${{ hashFiles('**/Cargo.lock') }}
101+
restore-keys: |
102+
${{ runner.os }}-cargo-
103+
104+
- name: Generate report
105+
run: cargo run report

0 commit comments

Comments
 (0)