-
-
Notifications
You must be signed in to change notification settings - Fork 7
33 lines (30 loc) · 723 Bytes
/
check.yml
File metadata and controls
33 lines (30 loc) · 723 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
name: Check
on:
push:
branches:
- main
paths-ignore:
- "**.md"
pull_request:
merge_group:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
# https://github.com/Mozilla-Actions/sccache-action#rust-code
# RUSTC_WRAPPER: "sccache"
# SCCACHE_GHA_ENABLED: "true"
jobs:
check:
name: check
runs-on: ubuntu-latest
if: "!startsWith(github.ref, 'refs/tags')"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: rui314/setup-mold@v1
- uses: taiki-e/install-action@just
# - uses: mozilla-actions/sccache-action@v0.0.3
- run: just fmt --check
- run: just lint
- run: just check
- run: just test