-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (39 loc) · 914 Bytes
/
lint.yml
File metadata and controls
44 lines (39 loc) · 914 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: Lint
on:
push:
branches: [main]
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
cache: "npm"
cache-dependency-path: |
frontend/package.json
backend/package.json
filebrowser/package.json
- name: Install NPM packages
run: |
cd frontend
npm ci
cd ../backend
npm ci
cd ../filebrowser
npm ci
- name: Install Tools
uses: jdx/mise-action@v3
with:
version: 2026.1.4
install: true
mise_toml: |
[tools]
hadolint = "2.14.0"
golangci-lint = "2.8.0"
- name: Lint
run: ./.github/workflows/lint/lint.sh