Skip to content

Sync release and master #26

Sync release and master

Sync release and master #26

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