Skip to content

Bump Go version on CI run (#72) #71

Bump Go version on CI run (#72)

Bump Go version on CI run (#72) #71

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
go:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.21.x, 1.20.x]
redis-version: [6-alpine, 7-alpine]
services:
redis:
image: redis:${{ matrix.redis-version }}
ports:
- 6379:6379
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- run: make test test-race
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.x
check-latest: true
- uses: golangci/golangci-lint-action@v3