aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/go.yml11
-rw-r--r--Dockerfile2
2 files changed, 4 insertions, 9 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 098a907..e63afdf 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -11,22 +11,16 @@ jobs:
build:
runs-on: ubuntu-latest
- strategy:
- matrix:
- go: ["1.15.x", "1.16.x"]
- include:
- - go: 1.16.x
- latest: true
steps:
- name: Setup Go
uses: actions/setup-go@v2
with:
- go-version: ${{ matrix.go }}
+ go-version: 1.17.x
- name: Checkout code
uses: actions/checkout@v2
-
+
- name: Load cached dependencies
uses: actions/cache@v1
with:
@@ -34,6 +28,7 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
+
- name: Lint
if: matrix.latest
run: make lint
diff --git a/Dockerfile b/Dockerfile
index 131220f..b634ed1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.11
+FROM golang:1.17
EXPOSE 8080
RUN \