Skip to content

Commit

Permalink
Add support for go 1.18 and 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
mennanov committed Nov 26, 2022
1 parent 57ce6c2 commit 3225841
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
kind: pipeline
name: go1.17
name: go1.19
type: docker

steps:
- name: test
image: golang:1.17
image: golang:1.19
commands:
- go vet ./...
- go test -v -coverprofile=coverage.txt -covermode=atomic ./...
Expand All @@ -17,6 +17,30 @@ steps:
files:
- coverage.txt

---
kind: pipeline
name: go1.18
type: docker

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

---
kind: pipeline
name: go1.17
type: docker

steps:
- name: test
image: golang:1.17
commands:
- go vet ./...
- go test ./...

---
kind: pipeline
name: go1.16
Expand Down Expand Up @@ -72,7 +96,7 @@ type: docker

steps:
- name: lint
image: golang:1.17
image: golang:1.19
commands:
- go get -d github.com/mgechev/revive
- go install github.com/mgechev/revive
Expand Down

0 comments on commit 3225841

Please sign in to comment.