Skip to content

[WIP等所有语言][Darabonba 2.0]rebuild retry policy && support retry for throttling e… #115

[WIP等所有语言][Darabonba 2.0]rebuild retry policy && support retry for throttling e…

[WIP等所有语言][Darabonba 2.0]rebuild retry policy && support retry for throttling e… #115

Workflow file for this run

name: Go CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
defaults:
run:
shell: bash
working-directory: golang
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.13, 1.14, 1.15, 1.16]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Export Env
run: export GO111MODULE=on
- name: Build
run: go mod tidy
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./client/...