This commit is contained in:
15
.drone.yml
15
.drone.yml
@@ -12,8 +12,13 @@ trigger:
|
|||||||
steps:
|
steps:
|
||||||
- name: lint
|
- name: lint
|
||||||
image: golangci/golangci-lint:v1.59-alpine
|
image: golangci/golangci-lint:v1.59-alpine
|
||||||
|
# volumes:
|
||||||
|
# - name: go-cache
|
||||||
|
# path: /.cache/mod
|
||||||
|
# - name: golangci-cache
|
||||||
|
# path: /.cache/go-build
|
||||||
commands:
|
commands:
|
||||||
- golangci-lint run ./...
|
- golangci-lint run --timeout=5m ./...
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: golang:1.24-alpine
|
image: golang:1.24-alpine
|
||||||
@@ -33,3 +38,11 @@ steps:
|
|||||||
# platforms:
|
# platforms:
|
||||||
# - linux/amd64
|
# - linux/amd64
|
||||||
# - linux/arm64
|
# - linux/arm64
|
||||||
|
|
||||||
|
# volumes:
|
||||||
|
# - name: go-cache
|
||||||
|
# host:
|
||||||
|
# path: /tmp/cache/go-modules
|
||||||
|
# - name: golangci-cache
|
||||||
|
# host:
|
||||||
|
# path: /tmp/cache/golangci
|
||||||
|
|||||||
Reference in New Issue
Block a user