如果达到超时时间就退出循环 #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: ${{ matrix.os }} - CI - Go ${{ matrix.go_version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
# If you want to matrix build , you can append the following list. | |
matrix: | |
go_version: | |
- 1.15 | |
- 1.16 | |
- 1.17 | |
os: | |
- ubuntu-latest | |
steps: | |
- name: Set Up Go ${{ matrix.go_version }} | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go_version }} | |
id: go | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v2 | |
- name: Tests | |
id: test | |
run: | | |
make test |