goc/.github/workflows/ut_check.yml
chupei 08fa9619b8
optimize ci check job name (#7)
* optimize ci check job name

* optimize ci check job name

* optimize ci check job name

Co-authored-by: chupei <chupei@qiniu.com>
2020-05-14 15:29:31 +08:00

31 lines
658 B
YAML

name: ut-check
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
run:
name: go test
strategy:
matrix:
go-version: [1.13.x, 1.14.x]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
# This step checks out a copy of your repository.
- name: Checkout code
uses: actions/checkout@v2
- name: Go test
run: |
go test ./...