-
-
Notifications
You must be signed in to change notification settings - Fork 64
42 lines (35 loc) · 806 Bytes
/
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
name: Update check
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
jobs:
go:
name: Check for changes
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install groovy
uses: sdkman/sdkman-action@b1f9b696c79148b66d3d3a06f7ea801820318d0f
with:
candidate: groovy
version: 3.0.9
- name: Install dependencies and link
run: |
npm ci
npm link
- name: Validate no changes
run: |
npm run dev:pre-commit
git --no-pager diff
[[ 0 -eq $(git status --porcelain | wc -l) ]]