Joe Chen
|
a43b933c90
|
go: update required version to be 1.17 and add 1.19 to CI (#7129)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
|
2022-08-08 13:56:50 +08:00 |
Joe Chen
|
083c3ee659
|
db: refactor "action" table to use GORM (#7054)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
|
2022-06-25 18:07:39 +08:00 |
Joe Chen
|
b772603d78
|
migrations: add tests and remove XORM (#7050)
|
2022-06-12 14:15:01 +08:00 |
Joe Chen
|
2e19f5a3c8
|
db: add tests for authentication through login sources (#7049)
|
2022-06-12 10:34:12 +08:00 |
Joe Chen
|
e3706575d5
|
ci: pin go-mockgen to 1.2.0 (#7021)
|
2022-06-07 20:38:54 +08:00 |
Joe Chen
|
0a92ad27ef
|
db: use `context` and go-mockgen for `AccessTokensStore` (#7013)
|
2022-06-06 12:10:36 +08:00 |
Joe Chen
|
64e09476c7
|
ci: check tidiness of "task generate-schemadoc" (#7007)
|
2022-06-04 14:40:21 +08:00 |
Joe Chen
|
5f0999243a
|
ci: add Codeball (#6997)
[skip ci]
|
2022-06-03 21:16:52 +08:00 |
Joe Chen
|
ccdcb1c45b
|
db: run tests with pure-Go SQLite (#6998)
|
2022-06-03 10:03:48 +08:00 |
Joe Chen
|
5f34265db6
|
ci: run database tests against Postgres, MySQL and SQLite (#6996)
|
2022-06-01 22:51:46 +08:00 |
Joe Chen
|
069d832a51
|
docker: push ephemeral image to ttl.sh for pull requests (#6981)
[skip ci]
|
2022-05-29 22:37:13 +08:00 |
Naveen
|
e65071d3aa
|
chore: Set permissions for GitHub actions (#6936)
|
2022-05-26 01:05:29 +08:00 |
Michael Li
|
32c454ba5f
|
assets: convert usage of go-bindata to Go embed (#6851)
Co-authored-by: Joe Chen <jc@unknwon.io>
|
2022-03-17 14:05:09 +08:00 |
Joe Chen
|
3539de754d
|
ci: delete Go 1.15 and add Go 1.18 (#6847)
|
2022-03-16 02:04:27 +08:00 |
Joe Chen
|
1791665f74
|
chore: run `task generate` (#6844)
|
2022-03-15 22:42:22 +08:00 |
Joe Chen
|
d392bc6e9a
|
workflows: lock closed threads after 90 days (#6843)
|
2022-03-15 21:30:13 +08:00 |
Joe Chen
|
aac91b3611
|
lsif: update upload endpoint (#6827)
Co-authored-by: Sourcegraph <batch-changes@sourcegraph.com>
|
2022-03-10 23:30:03 +08:00 |
Joe Chen
|
c7e8c145d1
|
ci: check Go module tidiness (#6787)
[skip ci]
|
2022-02-27 19:58:23 +08:00 |
Joe Chen
|
2071eb634f
|
docs: update release templates and playbook (#6735)
[skip ci]
|
2022-01-18 11:58:09 +08:00 |
Joe Chen
|
c8476b1c2e
|
docker: add job for pull requests from forks (#6724)
|
2022-01-13 11:04:54 +08:00 |
Joe Chen
|
f0b21aff91
|
docker: build and push images when new releases are published (#6681)
|
2021-12-19 20:47:16 +08:00 |
Joe Chen
|
6528bf35dc
|
ci: send emails on job failures for Docker and Go (#6679)
|
2021-12-18 11:15:02 +08:00 |
Joe Chen
|
da56873d37
|
github: give Docker workflow write access to packages (#6678)
|
2021-12-18 10:51:22 +08:00 |
Joe Chen
|
c6968105e5
|
docker: update README to add ghcr.io (#6677)
|
2021-12-18 01:18:48 +08:00 |
Joe Chen
|
f1f3e970b9
|
github: fix CodeQL token permissions (#6676)
|
2021-12-18 01:03:01 +08:00 |
Joe Chen
|
b827a2f342
|
docker: upgrade base images to `alpine3.14` (#6675)
|
2021-12-18 00:31:03 +08:00 |
Joe Chen
|
8ee734b1df
|
ci: build and push Docker images on `main` branch (#6659)
|
2021-12-15 16:20:39 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
4a89438454
|
ci: update GitHub Actions (#6612)
|
2021-09-04 13:40:35 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
1a1a01a842
|
ci: use new lint action and add custom config (#6562)
|
2021-05-19 13:38:13 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
cf86546dff
|
ci: change of Go dependencies needs go test (#6368)
|
2020-10-04 08:56:46 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
b4abbf3ac8
|
ci: enable Go for release branches
|
2020-09-26 16:28:39 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
7a649ada09
|
ci: only enforce Go checks for pushes to `main` branch
Otherwise would create duplicated GitHub Checks.
|
2020-09-04 04:08:00 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
bb93cabd39
|
ci: re-run Go checks for every push on a pull request
If a pull request has changed any Go file, even if the new push doesn't change any,
we should re-run Go checks to make GitHub Checks look consistent.
|
2020-09-04 03:13:59 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
cf216f12a1
|
github: add Go 1.15 to CI (#6294)
|
2020-08-29 13:41:35 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
f6d672a3cd
|
chore: change default branch to `main` (#6285)
|
2020-08-27 19:51:44 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
423f9e6de7
|
github: enable Go actions on push
|
2020-08-27 14:57:12 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
afb445bb57
|
github: only run Actions when Go files are changed (#6275)
|
2020-08-23 15:27:54 +08:00 |
Dre
|
90904b3f42
|
workflow: add shellcheck as a linter (#6202)
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
|
2020-07-17 22:49:32 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
a7afa11610
|
lsif: fix upload to private instance (#6216)
|
2020-06-30 00:25:57 +08:00 |
Justin Hutchings
|
79d8aa0cb8
|
Add CodeQL security scanning (#6188)
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
|
2020-06-11 23:02:57 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
cb406bb350
|
lsif: upload data to dogfood instance (#6171)
|
2020-05-22 16:58:26 +08:00 |
garo (they/them)
|
9bbe029c28
|
lsif: don't upload indexes for forks (#6170)
|
2020-05-22 05:40:04 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
34145c990d
|
lfs: implement HTTP routes (#6035)
* Bootstrap with GORM
* Fix lint error
* Set conn max lifetime to one minute
* Fallback to use gorm v1
* Define HTTP routes
* Finish authentication
* Save token updated
* Add docstring
* Finish authorization
* serveBatch rundown
* Define types in lfsutil
* Finish Batch
* authutil
* Finish basic
* Formalize response error
* Fix lint errors
* authutil: add tests
* dbutil: add tests
* lfsutil: add tests
* strutil: add tests
* Formalize 401 response
|
2020-04-04 21:14:15 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
933206f1fe
|
gitutil: refactor the way to mock (#6032)
* Refactor the mock module store
* Only test on 1.14.x
|
2020-03-29 19:37:28 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
a9dcf4ce74
|
github: use Actions for CI (#6022)
* Update golint.yml
* Update README.md
* Update README.md
* Update golint.yml
* Update golint.yml
* Rename golint.yml to go.yml
* Update go.yml
* Update go.yml
* Update go.yml
* Improve tests on Windows
* Delete files
|
2020-03-27 22:06:29 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
ad7d1d4f29
|
github: rename job name (#6004)
* Update golint.yml
* Update lsif.yml
|
2020-03-22 22:23:52 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
5843038a08
|
workflows: enable golangci-lint (#5998)
* Create golint.yml
* Update golint.yml
* Update golint.yml
* Fix errcheck
* Fix gosimple
* Fix staticcheck
|
2020-03-21 13:39:32 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
c65b5b9f84
|
lsif: enable upload
|
2020-03-08 00:08:05 +08:00 |