Skip to content

Commit

Permalink
bump misc
Browse files Browse the repository at this point in the history
  • Loading branch information
sakajunquality committed Mar 5, 2024
1 parent 6803eb2 commit 8334e03
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 473 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ on:
jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.17'
go-version-file: go.mod
- name: Cache for Golang Packages
uses: actions/cache@v2
with:
Expand All @@ -31,9 +30,9 @@ jobs:
- run: make test

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
- name: Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
push: false
Expand All @@ -51,10 +50,10 @@ jobs:
CONTAINER_IMAGE_REPOSITORY: ghcr.io/${{ github.repository_owner }}/sendgrid-stats-exporter

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
Expand All @@ -63,7 +62,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
images: ${{ env.CONTAINER_IMAGE_REPOSITORY }}
tags: |
Expand All @@ -73,7 +72,7 @@ jobs:
type=schedule,pattern={{date 'YYYYMMDD'}}
type=sha
- name: Build and Push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down
27 changes: 13 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
module github.com/ubie-oss/sendgrid-stats-exporter

go 1.17
go 1.22

require (
github.com/go-kit/log v0.2.0
github.com/prometheus/client_golang v1.11.0
github.com/prometheus/common v0.32.1
github.com/go-kit/log v0.2.1
github.com/prometheus/client_golang v1.19.0
github.com/prometheus/common v0.49.0
gopkg.in/alecthomas/kingpin.v2 v2.2.6
)

require (
github.com/alecthomas/kingpin/v2 v2.4.0 // indirect
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/golang/protobuf v1.4.3 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 // indirect
google.golang.org/protobuf v1.26.0-rc.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
golang.org/x/sys v0.18.0 // indirect
google.golang.org/protobuf v1.32.0 // indirect
)
Loading

0 comments on commit 8334e03

Please sign in to comment.