File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed
Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1616 with :
1717 persist-credentials : false
1818
19- - name : grit-check
20- uses : getgrit/github-action-check@c1ba5f99fd0e46f4cdc35d8dbc4622610ccc1784 # v0
19+ # Install Node so npm can be used to install Grit
20+ - name : Set up Node
21+ uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
22+ with :
23+ node-version : " 22.13.0"
24+
25+ # The following steps were copied from github.com/honeycombio/github-action-check/blob/main/action.yaml with
26+ # slight simplifications.
27+ # The install method was changed from running https://docs.grit.io/install to using npm because the install URL
28+ # redirects to https://github.com/biomejs/gritql/releases/download/v0.0.2/grit-installer.sh, which returns 404.
29+ - name : Install Grit
30+ run : npm install --location=global @getgrit/cli@0.1.0-alpha.1743007075
31+ - name : Init Grit
32+ run : grit init
33+ - name : Run Grit check
34+ run : grit check --github-actions
Original file line number Diff line number Diff line change 1919 persist-credentials : true
2020
2121 - name : Set up Node
22- uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # 5.0 .0
22+ uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2 .0
2323 with :
2424 node-version : " 22.13.0"
2525 cache : " npm"
You can’t perform that action at this time.
0 commit comments