summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-09-10 14:42:14 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-10 14:42:14 +0200
commitf2e5bedea6fb93fbbf68ed8f7153c353cc57a9f0 (patch)
tree475ae9e7470d0df670ab2a59dce351cd1d07498a /.drone.yml
parentfixes + db changes (#204) (diff)
downloadgotosocial-f2e5bedea6fb93fbbf68ed8f7153c353cc57a9f0.tar.xz
migrate go version to 1.17 (#203)
* migrate go version to 1.17 * update contributing
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.drone.yml b/.drone.yml
index ad163780e..63605f2d6 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -13,7 +13,7 @@ steps:
# We use golangci-lint for linting.
# See: https://golangci-lint.run/
- name: lint
- image: golangci/golangci-lint:v1.41.1
+ image: golangci/golangci-lint:v1.42.1
volumes:
- name: go-build-cache
path: /root/.cache/go-build
@@ -27,17 +27,16 @@ steps:
- pull_request
- name: test
- image: golang:1.16.4
+ image: golang:1.17.1
volumes:
- name: go-build-cache
path: /root/.cache/go-build
environment:
GTS_DB_ADDRESS: postgres
commands:
- # `-count 1` => run all tests at least once
# `-p 1` => run maximum one test at a time
# `./...` => run all tests
- - go test -count 1 -p 1 ./...
+ - go test -p 1 ./...
when:
event:
include:
@@ -86,6 +85,6 @@ trigger:
---
kind: signature
-hmac: 7fa6fa70be0a5c436ecb2f02f4b74bd1be5e90817e2d95a16898e3d29cbadf80
+hmac: 268d484fd9c5d14834a3e2a1e39cfe605c3898d601d2969dba5c2e11c1ea2f3b
...