-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (34 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
name: Linters
on:
push:
branches: [main]
paths-ignore:
- 'dist/**'
- 'package-lock.json'
pull_request:
paths-ignore:
- 'dist/**'
- 'package-lock.json'
jobs:
dprint:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: dprint/check@2f1cf31537886c3bfb05591c031f7744e48ba8a1 # v2.2
with:
dprint-version: '0.42.5' # selfup { "regex": "\\d[^']+", "script": "dprint --version | cut -d ' ' -f 2" }
typos:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# Intentionally point to the latest version, not the version bound by nix.
# Because getting commit ref from version string requires network access.
- uses: crate-ci/typos@35a8bc67870d6c0b7407683319ae175577e24261 # v1.16.19
with:
files: |
.
.github
.vscode
.devcontainer