Merge pull request #80 from systemli/upgrade-go-1.17

⬆️ Upgrade to Go 1.17
This commit is contained in:
Dwight Donovan Benvenuto 2022-02-20 12:34:13 +01:00 committed by GitHub
commit fbb35ef2b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 8 deletions

View file

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

View file

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

View file

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

2
go.mod
View file

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