This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nyah Check
committed
Jan 3, 2020
1 parent
067ceab
commit 818b8b5
Showing
2 changed files
with
40 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
name: Build and Run Tests | ||
# name: Build and Run Tests | ||
|
||
on: [push, pull_request] | ||
# on: [push, pull_request] | ||
|
||
|
||
jobs: | ||
setup-build-test: | ||
name: Setup, Build, Test | ||
strategy: | ||
matrix: | ||
go-version: [1.12.x] | ||
platform: [macos-latest] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- name: Setup Go | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
- name: Build | ||
run: make build | ||
- name: Run tests | ||
run: make test | ||
- name: Install | ||
run: make install | ||
# jobs: | ||
# setup-build-test: | ||
# name: Setup, Build, Test | ||
# strategy: | ||
# matrix: | ||
# go-version: [1.12.x] | ||
# platform: [macos-latest] | ||
# runs-on: ${{ matrix.platform }} | ||
# steps: | ||
# - name: Setup Go | ||
# uses: actions/setup-go@v1 | ||
# with: | ||
# go-version: ${{ matrix.go-version }} | ||
# - name: Checkout code | ||
# uses: actions/checkout@v1 | ||
# - name: Build | ||
# run: make build | ||
# - name: Run tests | ||
# run: make test | ||
# - name: Install | ||
# run: make install |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
language: go | ||
cache: | ||
directories: | ||
- $GOCACHE | ||
- $GOPATH/pkg/mod | ||
sudo: required | ||
go: | ||
- "1.12.x" | ||
- "1.13.x" | ||
jobs: | ||
include: | ||
- stage: Build | ||
script: make build | ||
- stage: Test | ||
script: make test | ||
name: Install | ||
- script: make install |