mirror of
https://github.com/gwuhaolin/livego.git
synced 2021-06-01 09:10:22 +03:00
20 lines
427 B
YAML
20 lines
427 B
YAML
name: Test
|
|
on: [push]
|
|
jobs:
|
|
test:
|
|
name: Build
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
steps:
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v2
|
|
- name: Get dependencies
|
|
run: go get
|
|
- name: Test
|
|
run: go test ./...
|