41 Commits

Author SHA1 Message Date
Feng.YJ
d983a4ebcb
refactor(cmd): use std runtime package to get go version info (#7964)
* refactor(cmd): use std `runtime` package to get go version info

- Remove the `GoVersion` variable.
- Remove overriding `GoVersion` by ldflags in `build.sh`.
- Get go version, OS and arch from the constants in the std `runtime` package instead of compile time.

* chore(ci): remove `GoVersion` flag from workflows

Remove GoVersion flag from beta_release.yml and build.yml workflows.

> Reduce compile-time dependencies.
2025-02-09 18:30:56 +08:00
Andy Hsu
f88fd83d4a feat(ci): use go-cross/cgo-actions for dev build 2025-01-28 18:57:09 +08:00
renovate[bot]
c9a18f4de6
chore(deps): update benjlevesque/short-sha action to v3 (#6784)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 12:22:17 +08:00
renovate[bot]
97a4b8321d
chore(deps): update actions/upload-artifact action to v4 (#5792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 14:44:59 +08:00
renovate[bot]
8c432d3339
chore(deps): update actions/checkout action to v4 (#5788)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 17:43:22 +08:00
renovate[bot]
ff25e51f80
chore(deps): update actions/setup-go action to v5 (#5789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 17:43:08 +08:00
Andy Hsu
d5f381ef6f chore: upgrade golang version 2023-11-25 14:22:13 +08:00
Andy Hsu
8d5283604c ci: add short sha to artifact 2023-11-19 15:21:25 +08:00
Andy Hsu
0f03a747d8 ci: cancel previous workflow run 2023-09-22 16:53:07 +08:00
Andy Hsu
f1245153b9 chore(deps): upgrade to go@1.20 2023-04-12 15:42:27 +08:00
renovate[bot]
6c91cfeb90
chore(deps): update actions/setup-go action to v4 (#3858)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 18:28:51 +08:00
Noah Hsu
ab7dee49b0 feat: add windows/arm64 target (close #3308) 2023-02-09 19:52:40 +08:00
Noah Hsu
a28aaceaad chore(ci): only build on main branch 2022-12-05 19:52:02 +08:00
Noah Hsu
2b902de6fd fix(build): switch to crazymax/xgo 2022-11-22 21:08:27 +08:00
renovate[bot]
50fb49f0c3 fix(deps): update dependencies by renovate[bot] (#2344)
chore(deps): add renovate.json (#2344)

fix(deps): update module github.com/aws/aws-sdk-go to v1.44.137 (#2345)

chore(deps): update actions-cool/issues-helper action to v2.5.0 (#2346)

fix(deps): update module github.com/caarlos0/env/v6 to v6.10.1 (#2348)

fix(deps): update module github.com/gin-contrib/cors to v1.4.0 (#2349)

fix(deps): update module github.com/sirupsen/logrus to v1.9.0 (#2354) [skip ci]

fix(deps): update module gorm.io/driver/postgres to v1.4.5 (#2361)  [skip ci]

fix(deps): update module golang.org/x/crypto to v0.2.0 (#2357) [skip ci]

fix(deps): update module github.com/aws/aws-sdk-go to v1.44.138 (#2358) [skip ci]

fix(deps): update module gorm.io/gorm to v1.24.1 (#2366) [skip ci]

fix(deps): update module gorm.io/driver/mysql to v1.4.4 (#2360) [skip ci]

fix(deps): update module github.com/spf13/cobra to v1.6.1 (#2356) [skip ci]

chore(deps): update actions-cool/issues-helper action to v3 (#2367) [skip ci]

fix(deps): update module gorm.io/driver/sqlite to v1.4.3 (#2365) [skip ci]

chore(deps): update actions/checkout action to v3 (#2368) [skip ci]

chore(deps): update actions/setup-go action to v3 (#2374) [skip ci]

chore(deps): update actions/upload-artifact action to v3 (#2375) [skip ci]

chore(deps): update docker/build-push-action action to v3 (#2377) [skip ci]

chore(deps): update docker/login-action action to v2 (#2378) [skip ci]

chore(deps): update docker/metadata-action action to v4 (#2381) [skip ci]

chore(deps): update docker/setup-buildx-action action to v2 (#2382) [skip ci]

chore(deps): update docker/setup-qemu-action action to v2 (#2387) [skip ci]

fix(deps): update module github.com/aws/aws-sdk-go to v1.44.139 (#2394) [skip ci]

fix(deps): update module golang.org/x/crypto to v0.3.0 (#2395) [skip ci]

Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-17 08:49:15 +08:00
Noah Hsu
549355bb29 build: change golang version 2022-10-12 17:35:44 +08:00
Noah Hsu
fec98e7f69 ci: auto build dev version 2022-08-29 22:49:20 +08:00
Noah Hsu
b76060570e refactor: init v3 2022-06-06 16:28:37 +08:00
Xhofe
08aaa5e2c0 build: rm .git before xgo 2022-04-24 16:53:47 +08:00
Xhofe
293d574ce7 build: specify xgo version 2022-04-23 16:53:26 +08:00
Xhofe
3c2d59e272 build: use crazymax/xgo 2022-04-16 16:43:21 +08:00
Xhofe
4928c331a8 build: upgrade go version 2022-04-16 15:04:28 +08:00
Xhofe
135d505192 back to cgo sqlite3 2022-02-25 23:55:57 +08:00
Xhofe
106c1d069c 💚 change build platform 2022-02-24 22:55:50 +08:00
Xhofe
e61b0f8e34 🔥 remove cgo to pure go 2022-02-24 16:08:49 +08:00
Xhofe
f9f92e2198 ✏️ fix typo 2022-02-23 20:13:52 +08:00
Xhofe
7d5f50b04a 👷 build for all branch 2022-02-23 20:12:21 +08:00
微凉
2ad27046fb 🎨 split build and docker 2022-01-20 20:30:58 +08:00
微凉
c9bc8227bb 💚 switch back to techknowlogick/xgo 2022-01-12 11:50:26 +08:00
微凉
7c7306bf96 💚 Optimize github actions build 2022-01-10 19:48:11 +08:00
微凉
c24894b5de 💚 add go install version 2022-01-10 18:23:44 +08:00
微凉
e10412c530 💚 change xgo 2022-01-10 18:18:11 +08:00
微凉
6a51f02845 💚 mv build.sh 2021-11-05 19:11:39 +08:00
微凉
e7071e1093 release asserts files cdn 2021-11-05 19:03:54 +08:00
微凉
91f64161b2 💚 change back to ubuntu 2021-11-04 22:38:08 +08:00
微凉
a746324ecf
💚 brew 2021-11-04 14:03:45 +08:00
微凉
1a3b931727 💚 setup docker 2021-11-04 13:34:10 +08:00
微凉
bfec01e837 💚 change build platform 2021-11-04 13:23:17 +08:00
微凉
7c45e48f3f 💚 fix Permission denied 2021-11-03 20:02:51 +08:00
微凉
d73854afb5 💚 fix every step must define a uses or run key 2021-11-03 19:58:48 +08:00
微凉
e935d09cfe 👷 build action 2021-11-03 19:56:16 +08:00