aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/go.yml11
1 files changed, 3 insertions, 8 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