-
-
Notifications
You must be signed in to change notification settings - Fork 101
44 lines (39 loc) · 936 Bytes
/
check.yaml
File metadata and controls
44 lines (39 loc) · 936 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
38
39
40
41
42
43
44
name: "Check formatting & lints"
on:
workflow_dispatch:
pull_request:
branches: ["master"]
paths:
- "Justfile"
- "Cargo.toml"
- "Cargo.lock"
- "xtask/Cargo.toml"
- "crates/**"
- "xtask/src/**"
- ".cargo/**"
- ".github/workflows/check.yaml"
push:
branches-ignore:
- "update-*"
paths:
- "Justfile"
- "Cargo.toml"
- "Cargo.lock"
- "xtask/Cargo.toml"
- "crates/**"
- "xtask/src/**"
- ".cargo/**"
- ".github/workflows/check.yaml"
jobs:
treewide-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checking Code (format, lints, etc.)
run: |
eval "$(nix print-dev-env)"
just check || exit 1