Skip to content

Commit

Permalink
update workflow action versions (#776)
Browse files Browse the repository at this point in the history
* update workflow action versions

* fix lint issues on upgrade
  • Loading branch information
willscott committed Nov 24, 2020
1 parent ddce47d commit 22a4797
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: go get ./...
-
name: Install Protoc
uses: arduino/setup-protoc@v1.1.0
uses: arduino/setup-protoc@v1.1.2
with:
version: '3.12.3'
-
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- name: Fetch Dependencies
run: go get ./...
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v1.2.1
uses: golangci/golangci-lint-action@v2.3.0
with:
version: v1.27
version: v1.29
args: --timeout 5m
2 changes: 1 addition & 1 deletion cmd/drand-cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ func keygenCmd(c *cli.Context) error {
return errors.New("missing drand address in argument. Abort")
}
addr := args.First()
var validID = regexp.MustCompile(`[:][0-9]+$`)
var validID = regexp.MustCompile(`:\d+$`)
if !validID.MatchString(addr) {
fmt.Println("Invalid port.")
addr = addr + ":" + askPort()
Expand Down
2 changes: 1 addition & 1 deletion cmd/relay-gossip/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ var runCmd = &cli.Command{
if _, err := lp2p.NewGossipRelayNode(log.DefaultLogger(), cfg); err != nil {
return err
}
<-(chan int)(nil)
<-chan int(nil)
return nil
},
}
Expand Down

0 comments on commit 22a4797

Please sign in to comment.