14 runs-on: ubuntu-latest
16 - name: Checkout sources
17 uses: actions/checkout@v3
18 - name: Install stable toolchain
19 uses: helix-editor/rust-toolchain@v1
24 - uses: Swatinem/rust-cache@v2
26 - name: Run cargo check
31 runs-on: ${{ matrix.os }}
36 - name: Checkout sources
37 uses: actions/checkout@v3
39 - name: Install stable toolchain
40 uses: dtolnay/rust-toolchain@1.65
42 - uses: Swatinem/rust-cache@v2
44 - name: Cache test tree-sitter grammar
45 uses: actions/cache@v3
47 path: runtime/grammars
48 key: ${{ runner.os }}-stable-v${{ env.CACHE_VERSION }}-tree-sitter-grammars-${{ hashFiles('languages.toml') }}
49 restore-keys: ${{ runner.os }}-stable-v${{ env.CACHE_VERSION }}-tree-sitter-grammars-
51 - name: Run cargo test
52 run: cargo test --workspace
54 - name: Run cargo integration-test
55 run: cargo integration-test
59 os: [ubuntu-latest, macos-latest, windows-latest]
63 runs-on: ubuntu-latest
65 - name: Checkout sources
66 uses: actions/checkout@v3
68 - name: Install stable toolchain
69 uses: dtolnay/rust-toolchain@1.65
71 components: rustfmt, clippy
73 - uses: Swatinem/rust-cache@v2
76 run: cargo fmt --all --check
78 - name: Run cargo clippy
79 run: cargo clippy --workspace --all-targets -- -D warnings
82 run: cargo doc --no-deps --workspace --document-private-items
84 RUSTDOCFLAGS: -D warnings
88 runs-on: ubuntu-latest
90 - name: Checkout sources
91 uses: actions/checkout@v3
93 - name: Install stable toolchain
94 uses: dtolnay/rust-toolchain@1.65
96 - uses: Swatinem/rust-cache@v2
98 - name: Validate queries
99 run: cargo xtask query-check
101 - name: Generate docs
102 run: cargo xtask docgen
104 - name: Check uncommitted documentation changes
107 git diff-files --quiet \
108 || (echo "Run 'cargo xtask docgen', commit the changes and push again" \
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list