mirror of
1
Fork 0

[chore] bump go, build, and lint version (#1570)

This commit is contained in:
tobi 2023-02-27 13:10:54 +01:00 committed by GitHub
parent 8696a8cdf0
commit 4bb3f59324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -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
...

View File

@ -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`.

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/superseriousbusiness/gotosocial
go 1.19
go 1.20
require (
codeberg.org/gruf/go-bytesize v1.0.2