Skip to content

Commit

Permalink
Update CI configs
Browse files Browse the repository at this point in the history
  • Loading branch information
dwin committed Dec 11, 2020
1 parent 45a0092 commit 463d846
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
24 changes: 18 additions & 6 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,29 @@ steps:
commands:
- go build -race -v .

- name: test-1.11-alpine
image: golang:1.11-alpine
- name: test-1.12-alpine
image: golang:1.12-alpine
commands:
- apk add --update bash build-base
- scripts/go_coverage.sh

- name: test-1.13-alpine
image: golang:1.13-alpine
commands:
- apk add --update bash build-base
- go test ./...
- scripts/go_coverage.sh

- name: test-1.12-alpine
image: golang:1.12-alpine3.9
- name: test-1.14-alpine
image: golang:1.14-alpine
commands:
- apk add --update bash build-base
- scripts/go_coverage.sh

- name: test-1.15-alpine
image: golang:1.15-alpine
commands:
- apk add --update bash build-base
- go test ./...
- scripts/go_coverage.sh

- name: test-alpine_latest
image: golang:alpine
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: golangci/golangci-lint-action@v1.2.1
with:
# version of golangci-lint to use in form of v1.2.3
version: v1.31.0
version: v1.31
# golangci-lint command line arguments
args: -c .golangci.yml
# golangci-lint working directory, default is project root
Expand Down

0 comments on commit 463d846

Please sign in to comment.