Skip to content

Commit

Permalink
(drone-372) use the modern docker runner for exec, upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
TP Honey committed Jul 5, 2022
1 parent c992a25 commit 960e232
Show file tree
Hide file tree
Showing 13 changed files with 688 additions and 677 deletions.
4 changes: 2 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ name: default

steps:
- name: test
image: golang:1.16
image: golang:1.18
commands:
- go test ./...

- name: build
image: golang:1.16
image: golang:1.18
commands:
- sh .drone.sh

Expand Down
12 changes: 0 additions & 12 deletions drone/exec/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,3 @@ func prefixedEnviron(environ []string) map[string]string {
}
return envs
}

// helper function combines one or more maps of environment
// variables into a single map.
func combineEnviron(env ...map[string]string) map[string]string {
c := map[string]string{}
for _, e := range env {
for k, v := range e {
c[k] = v
}
}
return c
}
Loading

0 comments on commit 960e232

Please sign in to comment.