update to go 1.16

This commit is contained in:
Falk Scheerschmidt 2021-02-18 09:13:38 +01:00
parent 68aa924ed4
commit dd9b527ee6
3 changed files with 4 additions and 5 deletions

View file

@ -13,7 +13,7 @@ jobs:
- name: Setup go - name: Setup go
uses: actions/setup-go@v2.1.3 uses: actions/setup-go@v2.1.3
with: with:
go-version: '1.15.x' go-version: '1.16.x'
- name: Vet - name: Vet
run: make vet run: make vet
- name: Test - name: Test
@ -27,7 +27,7 @@ jobs:
- name: Setup go - name: Setup go
uses: actions/setup-go@v2.1.3 uses: actions/setup-go@v2.1.3
with: with:
go-version: '1.15.x' go-version: '1.16.x'
- name: Build - name: Build
run: make build run: make build

View file

@ -14,7 +14,7 @@ jobs:
- name: Setup go - name: Setup go
uses: actions/setup-go@v2.1.3 uses: actions/setup-go@v2.1.3
with: with:
go-version: '1.15.x' go-version: '1.16.x'
- name: Create release artifacts - name: Create release artifacts
run: make release run: make release
env: env:

View file

@ -1,5 +1,4 @@
FROM golang:1.15.8-alpine FROM golang:1.16.0-alpine
ENV GO111MODULE=on
WORKDIR /go/src/github.com/systemli/prometheus-jitsi-meet-exporter WORKDIR /go/src/github.com/systemli/prometheus-jitsi-meet-exporter
ADD . /go/src/github.com/systemli/prometheus-jitsi-meet-exporter ADD . /go/src/github.com/systemli/prometheus-jitsi-meet-exporter
RUN go build -o /prometheus-jitsi-meet-exporter RUN go build -o /prometheus-jitsi-meet-exporter