Refine & format

This commit is contained in:
loyalsoldier
2020-08-24 16:09:51 +08:00
parent 8cd710ddc4
commit d8fe670b53
7 changed files with 47 additions and 78 deletions
+4 -9
View File
@@ -2,28 +2,23 @@ name: Test
on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]
jobs:
build:
name: Test
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.14
id: go
- name: Check out code into the Go module directory
- name: Checkout default branch
uses: actions/checkout@v2
- name: Get dependencies