Commit Graph

6 Commits

Author SHA1 Message Date
Bo-Yi Wu 83c73e79a5 ci: update Gitea testing configurations for 1.22 release (#663)
- Update Gitea image version to `1.22.0-rc1` in testing workflow
- Increase the number of milestones to be checked in the test from `2` to `3`
- Modify the theme setting from `auto` to `gitea-auto` in user settings test
- Update the Avatar URL in user test to use `http://gitea:3000/avatars/` instead of `https://secure.gravatar.com/avatar/`
- Increase the number of user emails to be checked in the test from `2` to `3`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/663
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-05-08 01:53:26 +00:00
appleboy 18e5522f90 ci: update Gitea versions in workflows and Makefile (#657)
- Update Gitea Docker image version from `1.21.8` to `1.21.10` in testing workflow
- Update Gitea version from `1.21.1` to `1.21.10` in Makefile

Signed-off-by: appleboy <appleboy.tw@gmail.com>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/657
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: appleboy <appleboy.tw@gmail.com>
Co-committed-by: appleboy <appleboy.tw@gmail.com>
2024-04-14 13:09:31 +00:00
Lunny Xiao bad4de0196 Upgrade CI (#655)
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/655
2024-03-16 08:34:20 +00:00
Christian Groschupp 98b424a8af feat(release): add GetLatestRelease method (#639)
This PR adds the GetLatestRelease method to support the /repos/{owner}/{repo}/releases/latest endpoint.
ref: https://docs.gitea.com/api/1.20/#tag/repository/operation/repoGetLatestRelease

Resolves gitea/go-sdk#630

Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/639
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Christian Groschupp <christian@groschupp.org>
Co-committed-by: Christian Groschupp <christian@groschupp.org>
2024-01-06 05:14:12 +00:00
Bo-Yi Wu 2abfdd7ba6 chore: update dependencies to latest versions (#646)
- Update the version of `github.com/hashicorp/go-version` from `v1.5.0` to `v1.6.0`
- Update the version of `golang.org/x/crypto` from `v0.0.0-20220525230936-793ad666bf5e` to `v0.17.0`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/646
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-12-31 04:06:05 +00:00
Zettat123 970776d1c1 Switch to Gitea Actions (#618)
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/618
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-committed-by: Zettat123 <zettat123@gmail.com>
2023-05-09 11:50:20 +08:00