-
Notifications
You must be signed in to change notification settings - Fork 16
35 lines (35 loc) · 877 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: tests
on:
push:
branches-ignore:
- 'private/**'
pull_request:
branches-ignore:
- 'private/**'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.1
- name: Setup Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: 1.83.0
components: rustfmt, clippy, llvm-tools-preview
- name: Rust Cache
uses: actions/cache@v4.0.1
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-1.83.0-${{ hashFiles('**/Cargo.toml') }}
- name: Setup Node
uses: actions/setup-node@v4.0.2
with:
node-version: 18
- name: Run make check
run: |
tools/ci-build.sh