Skip to content

Commit d5c1f3f

Browse files
don't use gofmt as an example in the README
gofmt doesn't care about Go modules, so that's a bad example.
1 parent 1535f43 commit d5c1f3f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ Take the following example, running a command (or multiple commands) directly:
1313
```yml
1414
steps:
1515
- name: Code Quality Checks
16-
run: |
17-
go vet ./...
18-
gofmt .
16+
run: go vet ./...
1917
```
2018
2119
Using this action, this would run the same command(s) in all Go modules:
@@ -25,7 +23,5 @@ steps:
2523
- name: Code Quality Checks
2624
uses: protocol/multiple-go-modules@master
2725
with:
28-
run: |
29-
go vet ./...
30-
gofmt .
26+
run: go vet ./...
3127
```

0 commit comments

Comments
 (0)