Skip to content

Commit

Permalink
don't use gofmt as an example in the README
Browse files Browse the repository at this point in the history
gofmt doesn't care about Go modules, so that's a bad example.
  • Loading branch information
marten-seemann authored May 30, 2021
1 parent 1535f43 commit d5c1f3f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ Take the following example, running a command (or multiple commands) directly:
```yml
steps:
- name: Code Quality Checks
run: |
go vet ./...
gofmt .
run: go vet ./...
```
Using this action, this would run the same command(s) in all Go modules:
Expand All @@ -25,7 +23,5 @@ steps:
- name: Code Quality Checks
uses: protocol/multiple-go-modules@master
with:
run: |
go vet ./...
gofmt .
run: go vet ./...
```

0 comments on commit d5c1f3f

Please sign in to comment.