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 1616
1717 steps :
1818 - 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:
4141 curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
4242 rustup update
4343 cargo install --version ${MDBOOK_VERSION} mdbook
44+ - uses : extractions/setup-just@v2
4445 - name : Setup Pages
4546 id : pages
4647 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
5150 env :
5251 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5352 - name : Upload artifact
Original file line number Diff line number Diff line change @@ -5,4 +5,9 @@ serve: api
55 mdbook serve
66
77build : 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