23 Commits

Author SHA1 Message Date
Nova Kwok
773424ca01
Split codecov and CI check (#249) 2023-07-06 14:49:10 +02:00
Benny
3699c4991f
fix code cov (#248) 2023-07-06 08:23:46 +08:00
Nova Kwok
8d0ecdf4e0
Use QEMU to release ARM64 binary as well (#246) 2023-07-05 15:30:44 +08:00
Benny
a2585463ad
build binary using centos 7 (#245)
fix #236
2023-07-05 10:42:21 +08:00
Benny
13281d929b
add some tests (#239)
* add some tests

* remove template

---------

Co-authored-by: n0vad3v <n0vad3v@riseup.net>
2023-07-03 17:01:13 +08:00
Benny
23bbed8ce6
Refactor review (#220)
* runnable

* convert is working

* some refactoring

* update go.mod

* fix some TODOs

* add TODO

* update go mod

* rebase onto master

* fix #234

2: 5.9s - 7.6MB
4: 26s - 6.9MB

* fix malloc tests

* fix malloc tests

* remote TODO

* add X-Real-IP #236

* Better localRawImagePath

* remove some wrong comments

* Bump version to 0.9.0

---------

Co-authored-by: n0vad3v <n0vad3v@riseup.net>
2023-06-27 15:43:43 +02:00
n0vad3v
97613832ef Add integration tests 2023-05-31 12:51:43 +02:00
Nova Kwok
bfa8aae10c
Try using vips (#190)
* Try using vips

* No need libaom

* Update code and version

* update

* Fix CI

* Add sudo

* Fix CI

* Make CI happy

* we happy few

* Update README, fix CI

* Add --no-install-recommends

* Update code

* Add ca-certificates for proxymode

* Add pics/invalid.png for testing

* Update README

---------

Co-authored-by: Benny <benny.think@gmail.com>
2023-05-10 10:52:36 +08:00
Nova Kwok
9fba09f19c
Let's try Go 1.20 (#167)
* Let's try Go 1.20

* Setup-go v3

* Maybe we should quote it
2023-02-02 11:03:41 +01:00
Nova Kwok
68cefb6740
A bunch of fixes (#161)
* Some updates

* Update Docs as well
2022-12-25 16:19:47 +08:00
Nova Kwok
c15241662e
Make CD Clean (#159)
* Make CD Clean

* Optimize CI as well

* Fix CI

* Fix CI
2022-12-07 14:51:09 +08:00
Benny
e312010998
use codeql v2 (#150)
https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
2022-10-09 19:49:50 +08:00
Nova Kwok
d104c1fbca
Print all CVE results to PR comment (#130) 2022-07-02 15:00:53 +08:00
Nova Kwok
3dd1bae938
Add CVE test on CI (#129)
* Add CVE test on CI

* Update

* Update
2022-06-30 17:14:07 +08:00
Benny
527825993a
Create codeql-analysis.yml (#98) 2022-03-24 15:14:03 +08:00
Nova Kwok
fd3013b2eb
Testing out lower glibc version (#110)
* Usiing lower glibc version
2022-03-24 14:58:47 +08:00
Nova Kwok
3890db9077
Optimize release procedure (#94)
* Optimize docker release action

* Added ignored-path on CI
2022-01-05 11:02:28 +08:00
BennyThink
49569b306a codecov inside GitHub Actions 2021-12-27 14:17:43 +08:00
Benny
b75bcf35d3
push to ghcr (#90)
* push to ghcr

* remove travis, add badge
2021-12-27 09:48:46 +08:00
Nova Kwok
35c9990e9e
Change docker image name to webpsh/webp-server-go (#89) 2021-12-22 22:07:48 +08:00
n0vad3v
6c594a9f3a
Add Action file to release binary on tag 2021-12-12 16:36:53 +08:00
BennyThink
67d40b4397
CI and minor fixes
* use GitHub Actions as CI
* bump versions
* Makefile and Dockerfile improvements
* upgrade logrus
2021-12-05 19:21:29 +08:00
BennyThink
66accb3fd9
add github action build 2021-07-31 18:21:09 +08:00