forked from johejo/sora_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #44 from shiguredo/feature/upgrade-go-libraries
Go 依存ライブラリの更新と logger の差し替え
- Loading branch information
Showing
7 changed files
with
132 additions
and
95 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,30 +3,29 @@ name: Go Static Check | |
on: | ||
push: | ||
branches-ignore: | ||
- 'main' | ||
- "main" | ||
tags-ignore: | ||
- '*' | ||
- "*" | ||
paths: | ||
- "**.go" | ||
|
||
jobs: | ||
|
||
build: | ||
name: static-check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version-file: "./go.mod" | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: "./go.mod" | ||
|
||
- run: go version | ||
- run: go version | ||
|
||
- run: go fmt . | ||
- run: go fmt . | ||
|
||
- uses: dominikh/[email protected].0 | ||
with: | ||
version: "2023.1.6" | ||
install-go: false | ||
- uses: dominikh/[email protected].1 | ||
with: | ||
version: "2024.1.1" | ||
install-go: false |
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
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,33 +1,35 @@ | ||
module github.com/shiguredo/sora_exporter | ||
|
||
go 1.22 | ||
go 1.23 | ||
|
||
require ( | ||
github.com/alecthomas/kingpin/v2 v2.4.0 | ||
github.com/go-kit/log v0.2.1 | ||
github.com/prometheus/client_golang v1.19.1 | ||
github.com/prometheus/common v0.54.0 | ||
github.com/prometheus/exporter-toolkit v0.11.0 | ||
github.com/prometheus/client_golang v1.20.4 | ||
github.com/prometheus/common v0.59.1 | ||
github.com/prometheus/exporter-toolkit v0.13.0 | ||
) | ||
|
||
require ( | ||
github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 // indirect | ||
github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
github.com/coreos/go-systemd/v22 v22.5.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/go-logfmt/logfmt v0.6.0 // indirect | ||
github.com/jpillora/backoff v1.0.0 // indirect | ||
github.com/klauspost/compress v1.17.10 // indirect | ||
github.com/kylelemons/godebug v1.1.0 // indirect | ||
github.com/mdlayher/socket v0.5.1 // indirect | ||
github.com/mdlayher/vsock v1.2.1 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect | ||
github.com/prometheus/client_model v0.6.1 // indirect | ||
github.com/prometheus/procfs v0.15.1 // indirect | ||
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect | ||
golang.org/x/crypto v0.24.0 // indirect | ||
golang.org/x/net v0.26.0 // indirect | ||
golang.org/x/oauth2 v0.21.0 // indirect | ||
golang.org/x/sync v0.7.0 // indirect | ||
golang.org/x/sys v0.21.0 // indirect | ||
golang.org/x/text v0.16.0 // indirect | ||
golang.org/x/crypto v0.27.0 // indirect | ||
golang.org/x/net v0.29.0 // indirect | ||
golang.org/x/oauth2 v0.23.0 // indirect | ||
golang.org/x/sync v0.8.0 // indirect | ||
golang.org/x/sys v0.25.0 // indirect | ||
golang.org/x/text v0.18.0 // indirect | ||
google.golang.org/protobuf v1.34.2 // indirect | ||
gopkg.in/yaml.v2 v2.4.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.