-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transition CI from Azure Pipelines to GitHub Actions
Signed-off-by: Tatsuya Sato <[email protected]>
- Loading branch information
Showing
3 changed files
with
35 additions
and
55 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: Verify Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
env: | ||
GOPATH: /opt/go | ||
PATH: /opt/go/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin | ||
GO_VER: 1.14.4 | ||
|
||
jobs: | ||
unit-tests: | ||
name: Unit Tests | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ env.GO_VER }} | ||
- name: Install gobin | ||
run: GO111MODULE=off go get -u github.com/myitcv/gobin | ||
- name: Checkout Fabric Code | ||
uses: actions/checkout@v3 | ||
- name: Run lint | ||
run: make lint | ||
- name: Run tests | ||
run: make test |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.