-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (42 loc) · 1.04 KB
/
lint.yml
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: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-typescript:
name: Lint TypeScript Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: dtolnay/rust-toolchain@stable
- uses: baptiste0928/cargo-install@v3
with:
crate: txtpp
- run: task themes:ci client:ci docs:ci --output group
- run: task themes:check client:check docs:check --output group
lint-rust:
name: Lint Rust Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: baptiste0928/cargo-install@v3
with:
crate: regen-lang
- run: task check:rs