Skip to content

Sync release and master (#18) #27

Sync release and master (#18)

Sync release and master (#18) #27

Workflow file for this run

on: [push, pull_request]
name: GoBeansProxy Test
jobs:
test:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v1
with:
fetch-depth: 1
path: go/src/github.com/douban/gobeansproxy
- name: Test
run: |
go mod tidy
go install github.com/douban/gobeansdb@latest
make test
env:
GOPATH: /home/runner/work/gobeansproxy/go/
- name: Install
run: make install