Skip to content

Commit

Permalink
Transition CI from Azure Pipelines to GitHub Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Tatsuya Sato <[email protected]>
  • Loading branch information
satota2 authored and denyeart committed Oct 2, 2023
1 parent 633977f commit 4ddd7b2
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 55 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
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
37 changes: 0 additions & 37 deletions ci/azure-pipelines.yml

This file was deleted.

18 changes: 0 additions & 18 deletions ci/install_deps.yml

This file was deleted.

0 comments on commit 4ddd7b2

Please sign in to comment.