aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGravatar Abhinav Gupta <abg@uber.com> 2021-09-08 11:09:26 -0700
committerGravatar GitHub <noreply@github.com> 2021-09-08 11:09:26 -0700
commit68f125ff5e3042610be114899531d73137726027 (patch)
treed267c95c9e17cc3af8f80b0dd838f91e35965bc3 /.github
parent0dc3bc6ed12495cddfdaacd9fbeecd9d2fa0791b (diff)
downloadsally-68f125ff5e3042610be114899531d73137726027.tar.gz
sally-68f125ff5e3042610be114899531d73137726027.tar.zst
sally-68f125ff5e3042610be114899531d73137726027.zip
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.
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