⬆️ Upgrade to Go 1.17

This commit is contained in:
louis 2022-02-20 12:32:34 +01:00
parent dcc19c2796
commit bc101bd81f
4 changed files with 4 additions and 8 deletions

View file

@ -14,7 +14,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2.2.0
with:
go-version: '1.16.x'
go-version: '1.17.x'
- name: Vet
run: go vet
@ -33,7 +33,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2.2.0
with:
go-version: '1.16.x'
go-version: '1.17.x'
- name: Build
run: go build ./...

View file

@ -12,5 +12,3 @@ jobs:
- uses: actions/checkout@v2.4.0
- name: GolangCI
uses: golangci/golangci-lint-action@v2.5.2
with:
version: v1.31

View file

@ -12,13 +12,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v2.2.0
with:
go-version: 1.16.x
go-version: '1.17.x'
- name: Login to Docker Hub
uses: docker/login-action@v1.13.0

2
go.mod
View file

@ -1,5 +1,5 @@
module github.com/systemli/prometheus-jitsi-meet-exporter
go 1.14
go 1.17
require github.com/google/go-cmp v0.5.7