mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 16:22:24 -05:00
[chore] Update Go version to 1.18 (#444)
* linting with new golangci-lint version * update go to 1.18 * bump versions in drone.yml * use new runtime/debug package for version info * remove Commit build flag from goreleaser * remove mock commit + version from build script * go fmt * add dummy version env flag to test container * install git in golang container for testing * only set versionString if Version is defined
This commit is contained in:
parent
906981a718
commit
03d7c75ebf
16 changed files with 87 additions and 246 deletions
|
|
@ -21,6 +21,7 @@ Check the [issues](https://github.com/superseriousbusiness/gotosocial/issues) to
|
|||
- [SQLite](#sqlite)
|
||||
- [Postgres](#postgres)
|
||||
- [Both](#both)
|
||||
- [CLI Tests](#cli-tests)
|
||||
- [Project Structure](#project-structure)
|
||||
- [Style](#style)
|
||||
- [Linting and Formatting](#linting-and-formatting)
|
||||
|
|
@ -47,7 +48,7 @@ In lieu of a fuller code of conduct, here are a few ground rules.
|
|||
|
||||
## Setting up your development environment
|
||||
|
||||
To get started, you first need to have Go installed. GtS is currently using Go 1.17, so you should take that too. See [here](https://golang.org/doc/install).
|
||||
To get started, you first need to have Go installed. GtS is currently using Go 1.18, so you should take that too. See [here](https://golang.org/doc/install).
|
||||
|
||||
Once you've got go installed, clone this repository into your Go path. Normally, this should be `~/go/src/github.com/superseriousbusiness/gotosocial`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue