-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from cromefire/go-updates
Upgrade dependencies and added github workflow
- Loading branch information
Showing
608 changed files
with
197 additions
and
337,393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Go | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
target: | ||
- arch: amd64 | ||
os: linux | ||
- arch: arm | ||
os: linux | ||
- arch: arm64 | ||
os: linux | ||
- arch: riscv64 | ||
os: linux | ||
- arch: wasm | ||
os: wasip1 | ||
ext: .wasm | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.21' | ||
|
||
- name: Build | ||
env: | ||
CGO_ENABLED: 0 | ||
GOOS: ${{ matrix.target.os }} | ||
GOARCH: ${{ matrix.target.arch }} | ||
run: go build -v -o fritzbox-cloudflare-dyndns${{ matrix.target.ext }} . | ||
|
||
- name: Tar up | ||
run: tar -cJf "fritzbox-cloudflare-dyndns-${{ matrix.target.arch }}.tar.xz" fritzbox-cloudflare-dyndns${{ matrix.target.ext }} | ||
|
||
- name: Upload a Build Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: fritzbox-cloudflare-dyndns-${{ matrix.target.arch }} | ||
path: fritzbox-cloudflare-dyndns-${{ matrix.target.arch }}.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
.env | ||
.idea/ | ||
/fritzbox-cloudflare-dyndns |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
module github.com/adrianrudnik/fritzbox-cloudflare-dyndns | ||
module github.com/cromefire/fritzbox-cloudflare-dyndns | ||
|
||
go 1.19 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/cloudflare/cloudflare-go v0.61.0 | ||
github.com/cloudflare/cloudflare-go v0.79.0 | ||
github.com/joho/godotenv v1.5.1 | ||
github.com/sirupsen/logrus v1.9.0 | ||
golang.org/x/net v0.7.0 | ||
golang.org/x/net v0.17.0 | ||
gopkg.in/xmlpath.v2 v2.0.0-20150820204837-860cbeca3ebc | ||
) | ||
|
||
require ( | ||
github.com/goccy/go-json v0.10.2 // indirect | ||
github.com/google/go-querystring v1.1.0 // indirect | ||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect | ||
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect | ||
github.com/hashicorp/go-retryablehttp v0.7.4 // indirect | ||
github.com/kr/pretty v0.3.1 // indirect | ||
golang.org/x/sys v0.5.0 // indirect | ||
golang.org/x/text v0.7.0 // indirect | ||
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect | ||
golang.org/x/sys v0.13.0 // indirect | ||
golang.org/x/text v0.13.0 // indirect | ||
golang.org/x/time v0.3.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.