Skip to content

Commit c209547

Browse files
committed
chore: update golang version
Signed-off-by: Luis Davim <dluis@vmware.com>
1 parent ab1cddc commit c209547

File tree

3 files changed

+40
-24
lines changed

3 files changed

+40
-24
lines changed

.github/workflows/build-docker.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-go@v3
13-
with:
14-
go-version-file: 'go.mod'
15-
- name: Login to quay.io Docker Image Registry
16-
uses: docker/login-action@v1
17-
with:
18-
registry: quay.io
19-
username: "${{ secrets.QUAY_USER }}"
20-
password: "${{ secrets.QUAY_PASS }}"
21-
- run: make docker docker-publish
22-
env:
23-
DOCKER_IMAGE_TAG: ${{ github.event.release.tag_name }}
24-
- run: make docker docker-publish
25-
env:
26-
DOCKER_IMAGE_TAG: latest
11+
- uses: actions/setup-go@v2
12+
with:
13+
go-version: 1.19.x
14+
- uses: actions/checkout@v2
15+
- name: Login to quay.io Docker Image Registry
16+
uses: docker/login-action@v1
17+
with:
18+
registry: quay.io
19+
username: "${{ secrets.QUAY_USER }}"
20+
password: "${{ secrets.QUAY_PASS }}"
21+
- run: make docker docker-publish
22+
env:
23+
DOCKER_IMAGE_TAG: ${{ github.event.release.tag_name }}
24+
- run: make docker docker-publish
25+
env:
26+
DOCKER_IMAGE_TAG: latest

.github/workflows/test.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-go@v3
13+
- uses: actions/setup-go@v2
1514
with:
16-
go-version-file: 'go.mod'
15+
go-version: 1.19.x
16+
- uses: actions/checkout@v2
1717
- run: make
1818
env:
19+
GO111MODULE: "on"
1920
GOBIN: "/tmp/bin"

go.mod

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,34 @@
11
module github.com/prometheus-community/jiralert
22

3-
go 1.15
3+
go 1.19
44

55
require (
66
github.com/andygrunwald/go-jira v1.15.1
77
github.com/go-kit/kit v0.10.0
88
github.com/go-kit/log v0.2.1
9-
github.com/golang/protobuf v1.4.1 // indirect
109
github.com/pkg/errors v0.9.1
1110
github.com/prometheus/client_golang v1.6.0
12-
github.com/prometheus/common v0.10.0 // indirect
1311
github.com/stretchr/testify v1.5.1
1412
github.com/trivago/tgo v1.0.7
15-
golang.org/x/sys v0.0.0-20221006211917-84dc82d7e875 // indirect
1613
golang.org/x/text v0.3.2
17-
gopkg.in/yaml.v2 v2.3.0 // indirect
1814
gopkg.in/yaml.v3 v3.0.1
1915
)
16+
17+
require (
18+
github.com/beorn7/perks v1.0.1 // indirect
19+
github.com/cespare/xxhash/v2 v2.1.1 // indirect
20+
github.com/davecgh/go-spew v1.1.1 // indirect
21+
github.com/fatih/structs v1.1.0 // indirect
22+
github.com/go-logfmt/logfmt v0.5.1 // indirect
23+
github.com/golang-jwt/jwt/v4 v4.3.0 // indirect
24+
github.com/golang/protobuf v1.4.1 // indirect
25+
github.com/google/go-querystring v1.1.0 // indirect
26+
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
27+
github.com/pmezard/go-difflib v1.0.0 // indirect
28+
github.com/prometheus/client_model v0.2.0 // indirect
29+
github.com/prometheus/common v0.10.0 // indirect
30+
github.com/prometheus/procfs v0.0.11 // indirect
31+
golang.org/x/sys v0.0.0-20221006211917-84dc82d7e875 // indirect
32+
google.golang.org/protobuf v1.22.0 // indirect
33+
gopkg.in/yaml.v2 v2.3.0 // indirect
34+
)

0 commit comments

Comments
 (0)