diff --git a/.drone.yml b/.drone.yml index d9e745fb8..8f490ba6c 100644 --- 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 index ff8794c6a..02e9f60e8 100644 --- 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 index 27a6ce121..1fdd62935 100644 --- 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