Skip to content

Commit 15aaf2d

Browse files
authored
Merge branch 'master' into dependabot/go_modules/golang.org/x/text-0.24.0
2 parents 9bb1d1f + 2706d88 commit 15aaf2d

File tree

13 files changed

+215
-561
lines changed

13 files changed

+215
-561
lines changed

.github/workflows/codecov.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
test-and-upstream:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 2
1616
- name: Set up Python 3.9
17-
uses: actions/setup-python@v4
17+
uses: actions/setup-python@v5
1818
with:
1919
python-version: '3.9'
2020
- name: Set up JDK 11
21-
uses: actions/setup-java@v3
21+
uses: actions/setup-java@v4
2222
with:
2323
java-version: '11'
2424
distribution: 'adopt'

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
45+
uses: github/codeql-action/init@v3
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
5353
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5454
# If this step fails, then you should remove it and run the build manually (see below)
5555
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v2
56+
uses: github/codeql-action/autobuild@v3
5757

5858
# ℹ️ Command-line programs to run using the OS shell.
5959
# 📚 https://git.io/JvXDl
@@ -67,4 +67,4 @@ jobs:
6767
# make release
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v2
70+
uses: github/codeql-action/analyze@v3

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
1616
runs-on: ${{ matrix.os }}
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Set up Go
21-
uses: actions/setup-go@v4
21+
uses: actions/setup-go@v5
2222
with:
2323
go-version: ${{ matrix.go-version }}
2424

.goreleaser.yml

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,37 @@
11
# This is an example .goreleaser.yml file with some sensible defaults.
22
# Make sure to check the documentation at https://goreleaser.com
33
# https://www.jianshu.com/p/ac18956b0bc0
4+
5+
6+
#cmd: goreleaser release --snapshot --clean
7+
version: 2
48
before:
59
hooks:
610
# You may remove this if you don't use go modules.
711
- go mod tidy
812
# you may remove this if you don't need go generate
913
- go generate ./...
1014
builds:
11-
- env:
12-
- CGO_ENABLED=1
15+
- id: linux
16+
env:
17+
- CGO_ENABLED=0
1318
- GO111MODULE=on
14-
- CC=x86_64-linux-musl-gcc
1519
goos:
1620
- linux
21+
ldflags:
22+
- -s -w
23+
flags:
24+
- -trimpath
25+
- id: darwin
26+
env:
27+
- CGO_ENABLED=0
28+
- GO111MODULE=on
29+
goos:
1730
- darwin
18-
- windows
31+
ldflags:
32+
- -s -w
33+
flags:
34+
- -trimpath
1935
archives:
2036

2137
- files:
@@ -26,6 +42,14 @@ archives:
2642
- src: templates/*
2743
- src: public/*
2844

45+
upx:
46+
- enabled: true
47+
goos:
48+
- linux
49+
compress: best
50+
lzma: true
51+
brute: false
52+
2953
checksum:
3054
name_template: 'checksums.txt'
3155
snapshot:

go.mod

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module github.com/midoks/imail
22

3-
go 1.16
3+
go 1.26.1
44

55
require (
66
github.com/axgle/mahonia v0.0.0-20180208002826-3358181d7394
7-
github.com/editorconfig/editorconfig-core-go/v2 v2.6.2
7+
github.com/editorconfig/editorconfig-core-go/v2 v2.6.3
88
github.com/go-macaron/binding v1.2.0
99
github.com/go-macaron/cache v0.0.0-20200329073519-53bb48172687
1010
github.com/go-macaron/captcha v0.2.0
@@ -13,7 +13,7 @@ require (
1313
github.com/go-macaron/i18n v0.6.0
1414
github.com/go-macaron/session v1.0.3
1515
github.com/go-resty/resty/v2 v2.16.5
16-
github.com/jarcoal/httpmock v1.3.1
16+
github.com/jarcoal/httpmock v1.4.0
1717
github.com/json-iterator/go v1.1.12
1818
github.com/microcosm-cc/bluemonday v1.0.27
1919
github.com/midoks/mcopa v0.0.0-20220101182214-c193ea891591
@@ -27,6 +27,43 @@ require (
2727
gopkg.in/ini.v1 v1.67.0
2828
gopkg.in/macaron.v1 v1.5.0
2929
gorm.io/driver/mysql v1.5.7
30-
gorm.io/driver/sqlite v1.5.7
3130
gorm.io/gorm v1.25.12
3231
)
32+
33+
require (
34+
github.com/aymerick/douceur v0.2.0 // indirect
35+
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
36+
github.com/davecgh/go-spew v1.1.1 // indirect
37+
github.com/dustin/go-humanize v1.0.1 // indirect
38+
github.com/fatih/color v1.7.0 // indirect
39+
github.com/glebarez/go-sqlite v1.21.2 // indirect
40+
github.com/go-macaron/inject v0.0.0-20200308113650-138e5925c53b // indirect
41+
github.com/go-sql-driver/mysql v1.7.0 // indirect
42+
github.com/google/uuid v1.3.0 // indirect
43+
github.com/gopherjs/gopherjs v1.17.2 // indirect
44+
github.com/gorilla/css v1.0.1 // indirect
45+
github.com/jinzhu/inflection v1.0.0 // indirect
46+
github.com/jinzhu/now v1.1.5 // indirect
47+
github.com/jtolds/gls v4.20.0+incompatible // indirect
48+
github.com/klauspost/compress v1.10.3 // indirect
49+
github.com/mailru/easyjson v0.7.0 // indirect
50+
github.com/mattn/go-colorable v0.1.4 // indirect
51+
github.com/mattn/go-isatty v0.0.17 // indirect
52+
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
53+
github.com/modern-go/reflect2 v1.0.2 // indirect
54+
github.com/pmezard/go-difflib v1.0.0 // indirect
55+
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
56+
github.com/russross/blackfriday/v2 v2.1.0 // indirect
57+
github.com/smarty/assertions v1.15.0 // indirect
58+
github.com/stretchr/objx v0.5.2 // indirect
59+
github.com/unknwon/com v1.0.1 // indirect
60+
golang.org/x/crypto v0.45.0 // indirect
61+
golang.org/x/mod v0.29.0 // indirect
62+
golang.org/x/net v0.47.0 // indirect
63+
golang.org/x/sys v0.38.0 // indirect
64+
gopkg.in/yaml.v3 v3.0.1 // indirect
65+
modernc.org/libc v1.22.5 // indirect
66+
modernc.org/mathutil v1.5.0 // indirect
67+
modernc.org/memory v1.5.0 // indirect
68+
modernc.org/sqlite v1.23.1 // indirect
69+
)

0 commit comments

Comments
 (0)