Skip to content

Commit

Permalink
Run test pipelines on Go 1.18 & 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0Ger committed Dec 12, 2022
1 parent 625062b commit 5522ed4
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,50 @@ volumes:
- name: deps
temp: { }

---
kind: pipeline
name: tests 1.18
type: docker
steps:
- name: build
image: "pr0ger/baseimage:build.go-1.18"
commands:
- go mod download
- go generate -x
- go build -v
volumes:
- name: deps
path: /go
- name: test
image: "pr0ger/baseimage:build.go-1.18"
commands:
- go test -v ./...
volumes:
- name: deps
path: /go

---
kind: pipeline
name: tests 1.19
type: docker
steps:
- name: build
image: "pr0ger/baseimage:build.go-1.19"
commands:
- go mod download
- go generate -x
- go build -v
volumes:
- name: deps
path: /go
- name: test
image: "pr0ger/baseimage:build.go-1.19"
commands:
- go test -v ./...
volumes:
- name: deps
path: /go

---
kind: pipeline
name: update docs
Expand Down

0 comments on commit 5522ed4

Please sign in to comment.