forked from vacs-project/vacs-data
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 894 Bytes
/
ci-dataset.yml
File metadata and controls
37 lines (31 loc) · 894 Bytes
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
36
37
name: CI • Dataset
on:
push:
branches:
- main
paths:
- "dataset/**"
- ".github/workflows/ci-dataset.yml"
pull_request:
branches:
- main
paths:
- "dataset/**"
- ".github/workflows/ci-dataset.yml"
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
shared-key: "linux-x86_64"
workspaces: "tools -> target"
- name: Validate dataset
run: cargo run --quiet --release --locked --bin vacs-data --manifest-path tools/Cargo.toml -- --log-format github validate dataset/