Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit c4c36ef

Browse files
committed
Add gh action for running tooling tests
1 parent 7cc0cf3 commit c4c36ef

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/tools-tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: tools-tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
jobs:
9+
check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: "Checkout"
13+
uses: actions/checkout@v3
14+
- name: "Cache"
15+
uses: actions/cache@v3
16+
with:
17+
path: |
18+
~/.cargo/bin/
19+
~/.cargo/registry/index/
20+
~/.cargo/registry/cache/
21+
~/.cargo/git/db/
22+
./target/
23+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
24+
- name: "Rust toolchain"
25+
uses: actions-rs/toolchain@v1
26+
with:
27+
toolchain: stable
28+
- name: "Test"
29+
run: cargo test

0 commit comments

Comments
 (0)