aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml4
-rw-r--r--.github/workflows/mirror.yml25
-rw-r--r--README.md2
-rw-r--r--go.mod2
-rw-r--r--go.sum4
5 files changed, 33 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0c0d00f..139251f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
- go-version: "1.24.4"
+ go-version: "1.24.6"
- name: Cache Go modules
uses: actions/cache@v4
with:
@@ -51,7 +51,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
- go-version: "1.24.4"
+ go-version: "1.24.6"
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v8
with:
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
new file mode 100644
index 0000000..baa8c0c
--- /dev/null
+++ b/.github/workflows/mirror.yml
@@ -0,0 +1,25 @@
+name: Mirror
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ branches: [master]
+
+permissions:
+ contents: read
+
+jobs:
+ mirror:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - name: Mirror to remote repository
+ uses: yesolutions/mirror-action@master
+ with:
+ REMOTE: "https://git.popov.link/go-metatrader4.git"
+ GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
+ GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}
diff --git a/README.md b/README.md
index e2e0cca..fdba57b 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ Use `WithAutoClose(false)` if you want to reuse the connection manually via `cli
## Project Info
- Vanity import path: `go.popov.link/metatrader4`
-- Source mirror (read-only): [code.popov.link](https://code.popov.link/valentineus/go-metatrader4)
+- Source mirror (read-only): [git.popov.link](https://git.popov.link/go-metatrader4/)
- Issues and contributions: [GitHub](https://github.com/valentineus/go-metatrader4/issues)
Maintained by [Valentin Popov](mailto:valentin@popov.link).
diff --git a/go.mod b/go.mod
index 72cc054..5a62ffe 100644
--- a/go.mod
+++ b/go.mod
@@ -2,4 +2,4 @@ module go.popov.link/metatrader4
go 1.24.2
-require golang.org/x/text v0.26.0
+require golang.org/x/text v0.28.0
diff --git a/go.sum b/go.sum
index e0f7b1e..6d2e4bb 100644
--- a/go.sum
+++ b/go.sum
@@ -2,3 +2,7 @@ golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4=
golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA=
golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M=
golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA=
+golang.org/x/text v0.27.0 h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4=
+golang.org/x/text v0.27.0/go.mod h1:1D28KMCvyooCX9hBiosv5Tz/+YLxj0j7XhWjpSUF7CU=
+golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
+golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=