Skip to content

Commit c49e3f5

Browse files
author
=
committed
Improved pipeline & updated golang
1 parent 4bebe23 commit c49e3f5

File tree

6 files changed

+47
-2517
lines changed

6 files changed

+47
-2517
lines changed

.github/workflows/docker.yml

-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ on:
88
- 'develop'
99
tags:
1010
- v*
11-
pull_request:
12-
branches:
13-
- 'master'
14-
- 'main'
1511

1612
env:
1713
CI_REGISTRY_IMAGE: ghcr.io/${{ github.repository }}

.github/workflows/go.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99
jobs:
1010
build:
1111
name: Build
12-
runs-on: [self-hosted, linux]
12+
runs-on: ubuntu-latest
1313
steps:
1414
- name: Set up Go 1.x
1515
uses: actions/setup-go@v3
1616
with:
17-
go-version: ^1.20
17+
go-version: ^1.22
1818
id: go
1919

2020
- name: Check out code into the Go module directory

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# Folders
1111
_obj
1212
_test
13+
.idea/
1314

1415
# Architecture specific extensions/prefixes
1516
*.[568vq]

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20-alpine
1+
FROM golang:1.22-alpine
22

33
RUN apk add --no-cache git
44

go.mod

+40-12
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,61 @@
11
module github.com/kthxat/filament
22

3-
go 1.12
3+
go 1.22
44

55
require (
66
github.com/BurntSushi/toml v1.3.2
77
github.com/GeertJohan/go.rice v1.0.3
8-
github.com/bytedance/sonic v1.11.1 // indirect
9-
github.com/chenzhuoyu/iasm v0.9.1 // indirect
108
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
119
github.com/dustin/go-humanize v1.0.1
1210
github.com/foolin/gin-template v0.0.0-20190415034731-41efedfb393b
1311
github.com/gin-gonic/gin v1.9.1
14-
github.com/go-playground/validator/v10 v10.18.0 // indirect
15-
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
16-
github.com/mattn/go-isatty v0.0.20 // indirect
1712
github.com/mitchellh/go-homedir v1.1.0
1813
github.com/nicksnyder/go-i18n/v2 v2.4.0
19-
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
2014
github.com/rs/xid v1.5.0
2115
github.com/secsy/goftp v0.0.0-20200609142545-aa2de14babf4
22-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
2316
github.com/spf13/viper v1.18.2
24-
github.com/ugorji/go/codec v1.2.12 // indirect
25-
go.uber.org/atomic v1.11.0 // indirect
2617
go.uber.org/multierr v1.11.0
27-
golang.org/x/arch v0.7.0 // indirect
2818
golang.org/x/crypto v0.20.0
29-
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
3019
golang.org/x/text v0.14.0
20+
)
21+
22+
require (
23+
github.com/bytedance/sonic v1.11.1 // indirect
24+
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
25+
github.com/chenzhuoyu/iasm v0.9.1 // indirect
26+
github.com/daaku/go.zipexe v1.0.2 // indirect
27+
github.com/fsnotify/fsnotify v1.7.0 // indirect
28+
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
29+
github.com/gin-contrib/sse v0.1.0 // indirect
30+
github.com/go-playground/locales v0.14.1 // indirect
31+
github.com/go-playground/universal-translator v0.18.1 // indirect
32+
github.com/go-playground/validator/v10 v10.18.0 // indirect
33+
github.com/goccy/go-json v0.10.2 // indirect
34+
github.com/hashicorp/hcl v1.0.0 // indirect
35+
github.com/json-iterator/go v1.1.12 // indirect
36+
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
37+
github.com/leodido/go-urn v1.4.0 // indirect
38+
github.com/magiconair/properties v1.8.7 // indirect
39+
github.com/mattn/go-isatty v0.0.20 // indirect
40+
github.com/mitchellh/mapstructure v1.5.0 // indirect
41+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
42+
github.com/modern-go/reflect2 v1.0.2 // indirect
43+
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
44+
github.com/sagikazarmark/locafero v0.4.0 // indirect
45+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
46+
github.com/sourcegraph/conc v0.3.0 // indirect
47+
github.com/spf13/afero v1.11.0 // indirect
48+
github.com/spf13/cast v1.6.0 // indirect
49+
github.com/spf13/pflag v1.0.5 // indirect
50+
github.com/subosito/gotenv v1.6.0 // indirect
51+
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
52+
github.com/ugorji/go/codec v1.2.12 // indirect
53+
golang.org/x/arch v0.7.0 // indirect
54+
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
55+
golang.org/x/net v0.21.0 // indirect
56+
golang.org/x/sys v0.17.0 // indirect
3157
google.golang.org/protobuf v1.32.0 // indirect
3258
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
59+
gopkg.in/ini.v1 v1.67.0 // indirect
60+
gopkg.in/yaml.v3 v3.0.1 // indirect
3361
)

0 commit comments

Comments
 (0)