mirror of
https://github.com/gofiber/storage.git
synced 2025-12-24 13:29:30 +08:00
30 lines
622 B
YAML
30 lines
622 B
YAML
'on':
|
|
- push
|
|
- pull_request
|
|
name: Memcache
|
|
jobs:
|
|
Tests:
|
|
runs-on: ubuntu-latest
|
|
services:
|
|
mongo:
|
|
image: 'memcached:latest'
|
|
ports:
|
|
- '11211:11211'
|
|
strategy:
|
|
matrix:
|
|
go-version:
|
|
- 1.14.x
|
|
- 1.15.x
|
|
platform:
|
|
- ubuntu-latest
|
|
- windows-latest
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: '${{ matrix.go-version }}'
|
|
- name: Fetch Repository
|
|
uses: actions/checkout@v2
|
|
- name: Run Test
|
|
run: cd ./memcache && go test ./... -v -race
|