From 68f125ff5e3042610be114899531d73137726027 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Wed, 8 Sep 2021 11:09:26 -0700 Subject: Use Go 1.17 to test and build (#51) sally is not a library, so there's no reason to test it with two versions of Go. Use the latest version of Go to build and test it. --- .github/workflows/go.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to '.github/workflows') 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 -- cgit v1.2.3