fix(release): update Gitea config
This commit is contained in:
parent
efef50e89d
commit
eb0e3f5c6c
3 changed files with 32 additions and 2 deletions
|
@ -58,6 +58,9 @@ steps:
|
||||||
path: /go
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
- goreleaser release --clean
|
- goreleaser release --clean
|
||||||
|
environment:
|
||||||
|
GITEA_TOKEN:
|
||||||
|
from_secret: gitea_token
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: go-cache
|
- name: go-cache
|
||||||
|
|
27
.editorconfig
Normal file
27
.editorconfig
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_size = 4
|
||||||
|
tab_width = 4
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = false
|
||||||
|
max_line_length = 120
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.go]
|
||||||
|
indent_style = tab
|
||||||
|
ij_smart_tabs = true
|
||||||
|
ij_go_GROUP_CURRENT_PROJECT_IMPORTS = true
|
||||||
|
ij_go_group_stdlib_imports = true
|
||||||
|
ij_go_import_sorting = goimports
|
||||||
|
ij_go_local_group_mode = project
|
||||||
|
ij_go_move_all_imports_in_one_declaration = true
|
||||||
|
ij_go_move_all_stdlib_imports_in_one_group = true
|
||||||
|
ij_go_remove_redundant_import_aliases = true
|
||||||
|
|
||||||
|
[*.{yml,yaml}]
|
||||||
|
indent_size = 2
|
||||||
|
tab_width = 2
|
||||||
|
insert_final_newline = true
|
|
@ -23,8 +23,8 @@ builds:
|
||||||
goarm: '7'
|
goarm: '7'
|
||||||
|
|
||||||
release:
|
release:
|
||||||
github:
|
gitea:
|
||||||
owner: baez90
|
owner: prskr
|
||||||
name: goveal
|
name: goveal
|
||||||
mode: replace
|
mode: replace
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue