-
Notifications
You must be signed in to change notification settings - Fork 19
39 lines (30 loc) · 791 Bytes
/
lint.yml
File metadata and controls
39 lines (30 loc) · 791 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
name: Lint
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install APT Packages
uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: libvips
- name: Ruby Setup
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Node Setup
uses: actions/setup-node@v6
with:
node-version-file: ".node-version"
cache: "npm"
- run: npm ci
- name: Run lint:check
run: bin/rails lint:check
- name: Check Migration Indexes
uses: speedshop/ids_must_be_indexed@v1