Skip to content

Commit 297bdcf

Browse files
committed
feat: Upgraded go version and added upx
1 parent dfc752f commit 297bdcf

File tree

3 files changed

+154
-32
lines changed

3 files changed

+154
-32
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,20 @@ jobs:
1212
- name: Getting Go Binaries
1313
uses: actions/setup-go@v2
1414
with:
15-
go-version: '1.22'
15+
go-version: '1.24'
1616

1717
- name: Build Application
1818
run: |
1919
go get -u && go mod tidy
20-
CGO_ENABLED=0 go build -o liman_render
20+
CGO_ENABLED=0 go build -o render
21+
22+
- name: Install Upx
23+
run: |
24+
sudo apt-get install upx
25+
26+
- name: Pack with Upx
27+
run: |
28+
upx --best render -o liman_render
2129
2230
- name: Create Zip
2331
run: |

go.mod

Lines changed: 38 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,38 @@
11
module github.com/limanmys/render-engine
22

3-
go 1.19
3+
go 1.23.0
4+
5+
toolchain go1.24.2
46

57
require (
6-
github.com/Nerzal/gocloak/v13 v13.8.0
7-
github.com/go-co-op/gocron v1.35.3
8-
github.com/go-resty/resty/v2 v2.10.0
9-
github.com/gofiber/fiber/v2 v2.50.0
8+
github.com/Nerzal/gocloak/v13 v13.9.0
9+
github.com/go-co-op/gocron v1.37.0
10+
github.com/go-resty/resty/v2 v2.16.5
11+
github.com/gofiber/fiber/v2 v2.52.6
1012
github.com/gofiber/helmet/v2 v2.2.26
11-
github.com/google/uuid v1.4.0
13+
github.com/golang-jwt/jwt/v4 v4.5.2
14+
github.com/google/uuid v1.6.0
1215
github.com/joho/godotenv v1.5.1
13-
github.com/zekiahmetbayar/go-random v0.0.0-20221005103900-1d232ec5eff4
14-
go.uber.org/zap v1.26.0
15-
gorm.io/driver/mysql v1.5.2
16-
gorm.io/driver/postgres v1.5.4
17-
gorm.io/gorm v1.25.5
16+
go.uber.org/zap v1.27.0
17+
gorm.io/driver/mysql v1.5.7
18+
gorm.io/driver/postgres v1.5.11
19+
gorm.io/gorm v1.25.12
1820
)
1921

2022
require (
23+
filippo.io/edwards25519 v1.1.0 // indirect
2124
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
2225
github.com/ChrisTrenkamp/goxpath v0.0.0-20210404020558-97928f7e12b6 // indirect
26+
github.com/bodgit/ntlmssp v0.0.0-20240506230425-31973bb52d9b // indirect
27+
github.com/bodgit/windows v1.0.1 // indirect
2328
github.com/geoffgarside/ber v1.1.0 // indirect
29+
github.com/go-logr/logr v1.4.2 // indirect
2430
github.com/gofrs/uuid v4.4.0+incompatible // indirect
25-
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
31+
github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
32+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
2633
github.com/hashicorp/go-uuid v1.0.3 // indirect
27-
github.com/jackc/pgx/v5 v5.4.3 // indirect
34+
github.com/jackc/pgx/v5 v5.7.4 // indirect
35+
github.com/jackc/puddle/v2 v2.2.2 // indirect
2836
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
2937
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
3038
github.com/jcmturner/gofork v1.7.6 // indirect
@@ -33,41 +41,43 @@ require (
3341
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
3442
github.com/kr/fs v0.1.0 // indirect
3543
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect
36-
github.com/mattn/go-colorable v0.1.13 // indirect
44+
github.com/mattn/go-colorable v0.1.14 // indirect
3745
github.com/mattn/go-isatty v0.0.20 // indirect
38-
github.com/mattn/go-runewidth v0.0.15 // indirect
46+
github.com/mattn/go-runewidth v0.0.16 // indirect
3947
github.com/opentracing/opentracing-go v1.2.0 // indirect
4048
github.com/pkg/errors v0.9.1 // indirect
41-
github.com/rivo/uniseg v0.4.4 // indirect
49+
github.com/rivo/uniseg v0.4.7 // indirect
4250
github.com/robfig/cron/v3 v3.0.1 // indirect
4351
github.com/segmentio/ksuid v1.0.4 // indirect
52+
github.com/tidwall/transform v0.0.0-20201103190739-32f242e2dbde // indirect
4453
go.uber.org/atomic v1.11.0 // indirect
4554
go.uber.org/multierr v1.11.0 // indirect
46-
golang.org/x/net v0.17.0 // indirect
55+
golang.org/x/net v0.39.0 // indirect
56+
golang.org/x/sync v0.13.0 // indirect
4757
)
4858

4959
require (
5060
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
5161
github.com/alessio/shellescape v1.4.2
52-
github.com/andybalholm/brotli v1.0.6 // indirect
62+
github.com/andybalholm/brotli v1.1.1 // indirect
5363
github.com/avast/retry-go v3.0.0+incompatible
5464
github.com/dariubs/gorm-jsonb v0.1.5
5565
github.com/dgrijalva/jwt-go v3.2.0+incompatible
56-
github.com/go-sql-driver/mysql v1.7.1 // indirect
66+
github.com/go-sql-driver/mysql v1.9.2 // indirect
5767
github.com/hirochachacha/go-smb2 v1.1.0
5868
github.com/jackc/pgpassfile v1.0.0 // indirect
59-
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
69+
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
6070
github.com/jinzhu/inflection v1.0.0 // indirect
6171
github.com/jinzhu/now v1.1.5 // indirect
62-
github.com/klauspost/compress v1.17.2 // indirect
63-
github.com/masterzen/winrm v0.0.0-20230926183142-a7fbe840deba
64-
github.com/mervick/aes-everywhere/go/aes256 v0.0.0-20220903070135-f13ed3789ae1
72+
github.com/klauspost/compress v1.18.0 // indirect
73+
github.com/masterzen/winrm v0.0.0-20240702205601-3fad6e106085
74+
github.com/mervick/aes-everywhere/go/aes256 v0.0.0-20240803013625-6759956693c0
6575
github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5
66-
github.com/pkg/sftp v1.13.6
76+
github.com/pkg/sftp v1.13.9
6777
github.com/valyala/bytebufferpool v1.0.0 // indirect
68-
github.com/valyala/fasthttp v1.50.0 // indirect
78+
github.com/valyala/fasthttp v1.60.0 // indirect
6979
github.com/valyala/tcplisten v1.0.0 // indirect
70-
golang.org/x/crypto v0.14.0
71-
golang.org/x/sys v0.13.0 // indirect
72-
golang.org/x/text v0.13.0
80+
golang.org/x/crypto v0.37.0
81+
golang.org/x/sys v0.32.0 // indirect
82+
golang.org/x/text v0.24.0
7383
)

0 commit comments

Comments
 (0)