Skip to content

Commit

Permalink
Run tests on Go 1.20 and later
Browse files Browse the repository at this point in the history
  • Loading branch information
avinassh committed Dec 15, 2023
1 parent 3da2df4 commit 544d274
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.20', '>=1.21' ]

services:
sqld:
Expand All @@ -28,6 +31,7 @@ jobs:
with:
go-version-file: "go.mod"
cache: true
go-version: ${{ matrix.go }}

- name: Format
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
Expand Down

0 comments on commit 544d274

Please sign in to comment.