commit 4bb3f59324fcca56373f960b34eb60e0f1c40beb
parent 8696a8cdf0ecb6ae6b324dc4b9d691aa398c06da
Author: tobi <31960611+tsmethurst@users.noreply.github.com>
Date: Mon, 27 Feb 2023 13:10:54 +0100
[chore] bump go, build, and lint version (#1570)
Diffstat:
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/.drone.yml b/.drone.yml
@@ -12,7 +12,7 @@ steps:
# We use golangci-lint for linting.
# See: https://golangci-lint.run/
- name: lint
- image: golangci/golangci-lint:v1.50.1
+ image: golangci/golangci-lint:v1.51.2
volumes:
- name: go-build-cache
path: /root/.cache/go-build
@@ -28,7 +28,7 @@ steps:
- pull_request
- name: test
- image: golang:1.19.5-alpine
+ image: golang:1.20.1-alpine
volumes:
- name: go-build-cache
path: /root/.cache/go-build
@@ -81,7 +81,7 @@ steps:
- yarn run build
- name: snapshot
- image: superseriousbusiness/gotosocial-drone-build:0.0.8 # https://github.com/superseriousbusiness/gotosocial-drone-build
+ image: superseriousbusiness/gotosocial-drone-build:0.1.0 # https://github.com/superseriousbusiness/gotosocial-drone-build
volumes:
- name: go-build-cache
path: /root/.cache/go-build
@@ -110,7 +110,7 @@ steps:
- main
- name: release
- image: superseriousbusiness/gotosocial-drone-build:0.0.8 # https://github.com/superseriousbusiness/gotosocial-drone-build
+ image: superseriousbusiness/gotosocial-drone-build:0.1.0 # https://github.com/superseriousbusiness/gotosocial-drone-build
volumes:
- name: go-build-cache
path: /root/.cache/go-build
@@ -169,7 +169,7 @@ clone:
steps:
- name: mirror
- image: superseriousbusiness/gotosocial-drone-build:0.0.8
+ image: superseriousbusiness/gotosocial-drone-build:0.1.0
environment:
ORIGIN_REPO: https://github.com/superseriousbusiness/gotosocial
TARGET_REPO: https://codeberg.org/superseriousbusiness/gotosocial
@@ -182,6 +182,6 @@ steps:
---
kind: signature
-hmac: 2db9b7ee071069e8f1b6c8b96ea553033502a6cb5d4cf6a8527ce74269bc34fb
+hmac: b894a72d5912045f74b9c046c7ecd49f2d36bead2a139d85af66a441aa2bc435
...
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
@@ -134,7 +134,7 @@ In case this post disappears, here are the steps (slightly modified):
#### Binary
-To get started, you first need to have Go installed. GtS is currently using Go 1.19, so you should take that too. See [here](https://golang.org/doc/install) for installation instructions. **WARNING: Go version 1.19.4 does not work due to a bug in Go. Use 1.19.3 or 1.19.5+** instead.
+To get started, you first need to have Go installed. GtS is currently using Go 1.20, so you should take that too. See [here](https://golang.org/doc/install) for installation instructions.
Once you've got go installed, clone this repository into your Go path. Normally, this should be `~/go/src/github.com/superseriousbusiness/gotosocial`.
diff --git a/go.mod b/go.mod
@@ -1,6 +1,6 @@
module github.com/superseriousbusiness/gotosocial
-go 1.19
+go 1.20
require (
codeberg.org/gruf/go-bytesize v1.0.2