File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 38
38
DEVEL_COVER_OPTIONS : ' -ignore,^local/'
39
39
steps :
40
40
- uses : actions/checkout@v4
41
+ with :
42
+ fetch-depth : 0
43
+ if : matrix.resolver == 'snapshot'
44
+ - uses : actions/checkout@v4
45
+ if : matrix.resolver != 'snapshot'
41
46
- uses : actions/setup-node@v4
42
47
with :
43
48
node-version : ' 18'
83
88
run : cover -report codecov
84
89
env :
85
90
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
91
+ - name : Install precious
92
+ run : ./bin/install-precious /usr/local/bin
93
+ - name : Fetch master
94
+ run : git fetch origin master:master
95
+ if : github.ref != 'refs/heads/master' && matrix.resolver == 'snapshot'
96
+ - name : Lint files in diff
97
+ run : precious lint -d master
98
+ if : github.ref != 'refs/heads/master' && matrix.resolver == 'snapshot'
99
+ - name : Lint all files
100
+ run : precious lint --all
101
+ if : github.ref != 'refs/heads/master' && matrix.resolver == 'snapshot'
You can’t perform that action at this time.
0 commit comments