File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -31,17 +31,20 @@ jobs:
31
31
lint-sv-format :
32
32
runs-on : ubuntu-latest
33
33
steps :
34
- - uses : actions/checkout@v3
34
+ - uses : actions/checkout@v4
35
35
with :
36
36
ref : ${{ github.event.pull_request.head.sha }}
37
+ - name : Print fix
38
+ run : |
39
+ echo "Fix with `make format`"
37
40
- name : Run Verible formatter action
38
41
uses : chipsalliance/verible-formatter-action@main
39
42
with :
40
43
github_token : ${{ secrets.GITHUB_TOKEN }}
41
44
files :
42
45
./src/*.sv
43
46
./test/*.sv
44
- ./text /synth/*.sv
47
+ ./test /synth/*.sv
45
48
parameters :
46
49
--flagfile .verilog_format
47
50
fail_on_formatting_suggestions : true
Original file line number Diff line number Diff line change @@ -32,3 +32,7 @@ nonfree-init:
32
32
cd nonfree && git checkout $(NONFREE_COMMIT )
33
33
34
34
-include $(MEMORY_ISLAND_ROOT ) /nonfree/nonfree.mk
35
+
36
+ .PHONY : format
37
+ format :
38
+ verible-verilog-format ./src/* .sv ./test/* .sv ./test/synth/* .sv --inplace --flagfile .verilog_format
You can’t perform that action at this time.
0 commit comments