File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 16
16
17
17
steps :
18
18
- uses : actions/checkout@v4
19
- - name : Build
20
- run : cargo build --verbose
21
- - name : Check for consistency
22
- run : cargo run -- check
19
+ - uses : extractions/setup-just@v2
20
+ - name : Build and check
21
+ run : just check
Original file line number Diff line number Diff line change @@ -41,13 +41,12 @@ jobs:
41
41
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
42
42
rustup update
43
43
cargo install --version ${MDBOOK_VERSION} mdbook
44
+ - uses : extractions/setup-just@v2
44
45
- name : Setup Pages
45
46
id : pages
46
47
uses : actions/configure-pages@v5
47
- - name : Build with mdBook
48
- run : mdbook build
49
- - name : Generate JSON data
50
- run : cargo run -- json 2024h2 --json-path book/html/api/2024h2.json
48
+ - name : Build
49
+ run : just build
51
50
env :
52
51
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53
52
- name : Upload artifact
Original file line number Diff line number Diff line change @@ -5,4 +5,9 @@ serve: api
5
5
mdbook serve
6
6
7
7
build : api
8
- mdbook build
8
+ mdbook build
9
+
10
+ check :
11
+ cargo build
12
+ cargo run -- check
13
+
You can’t perform that action at this time.
0 commit comments