Skip to content

Commit

Permalink
Update to go 1.18 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfudeus authored May 21, 2022
1 parent 06dccfa commit 7b2085d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/go-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.17', '1.18' ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.17'
go-version: ${{ matrix.go }}
- run: go build cmd/dht22-exporter/dht22-exporter.go
env:
CGO_ENABLED: "0"
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.17.8
ARG GO_VERSION=1.18.2
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION} AS builder
ARG TARGETARCH
ARG TARGETOS
Expand Down

0 comments on commit 7b2085d

Please sign in to comment.