mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-22 09:15:50 +03:00
a156188b3e
* update dependencies, bump Go version to 1.19 * bump test image Go version * update golangci-lint * update gotosocial-drone-build * sign * linting, go fmt * update swagger docs * update swagger docs * whitespace * update contributing.md * fuckin whoopsie doopsie * linterino, linteroni * fix followrequest test not starting processor * fix other api/client tests not starting processor * fix remaining tests where processor not started * bump go-runners version * don't check last-webfingered-at, processor may have updated this * update swagger command * update bun to latest version * fix embed to work the same as before with new bun Signed-off-by: kim <grufwub@gmail.com> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
123 lines
2.6 KiB
YAML
123 lines
2.6 KiB
YAML
before:
|
|
hooks:
|
|
- go mod tidy
|
|
- go fmt ./...
|
|
- go test ./...
|
|
builds:
|
|
- id: tomll
|
|
main: ./cmd/tomll
|
|
binary: tomll
|
|
env:
|
|
- CGO_ENABLED=0
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}}
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
|
targets:
|
|
- linux_amd64
|
|
- linux_arm64
|
|
- linux_arm
|
|
- windows_amd64
|
|
- windows_arm64
|
|
- windows_arm
|
|
- darwin_amd64
|
|
- darwin_arm64
|
|
- id: tomljson
|
|
main: ./cmd/tomljson
|
|
binary: tomljson
|
|
env:
|
|
- CGO_ENABLED=0
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}}
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
|
targets:
|
|
- linux_amd64
|
|
- linux_arm64
|
|
- linux_arm
|
|
- windows_amd64
|
|
- windows_arm64
|
|
- windows_arm
|
|
- darwin_amd64
|
|
- darwin_arm64
|
|
- id: jsontoml
|
|
main: ./cmd/jsontoml
|
|
binary: jsontoml
|
|
env:
|
|
- CGO_ENABLED=0
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}}
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
|
targets:
|
|
- linux_amd64
|
|
- linux_arm64
|
|
- linux_arm
|
|
- windows_amd64
|
|
- windows_arm64
|
|
- windows_arm
|
|
- darwin_amd64
|
|
- darwin_arm64
|
|
universal_binaries:
|
|
- id: tomll
|
|
replace: true
|
|
name_template: tomll
|
|
- id: tomljson
|
|
replace: true
|
|
name_template: tomljson
|
|
- id: jsontoml
|
|
replace: true
|
|
name_template: jsontoml
|
|
archives:
|
|
- id: jsontoml
|
|
format: tar.xz
|
|
builds:
|
|
- jsontoml
|
|
files:
|
|
- none*
|
|
name_template: "{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}"
|
|
- id: tomljson
|
|
format: tar.xz
|
|
builds:
|
|
- tomljson
|
|
files:
|
|
- none*
|
|
name_template: "{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}"
|
|
- id: tomll
|
|
format: tar.xz
|
|
builds:
|
|
- tomll
|
|
files:
|
|
- none*
|
|
name_template: "{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}"
|
|
dockers:
|
|
- id: tools
|
|
goos: linux
|
|
goarch: amd64
|
|
ids:
|
|
- jsontoml
|
|
- tomljson
|
|
- tomll
|
|
image_templates:
|
|
- "ghcr.io/pelletier/go-toml:latest"
|
|
- "ghcr.io/pelletier/go-toml:{{ .Tag }}"
|
|
- "ghcr.io/pelletier/go-toml:v{{ .Major }}"
|
|
skip_push: false
|
|
checksum:
|
|
name_template: 'sha256sums.txt'
|
|
snapshot:
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
release:
|
|
github:
|
|
owner: pelletier
|
|
name: go-toml
|
|
draft: true
|
|
prerelease: auto
|
|
mode: replace
|
|
changelog:
|
|
use: github-native
|
|
announce:
|
|
skip: true
|