Skip to content

Commit 62f5192

Browse files
satota2denyeart
authored andcommitted
Transition CI from Azure Pipelines to GitHub Actions
Signed-off-by: Tatsuya Sato <tatsuya.sato.so@hitachi.com>
1 parent 93b8f77 commit 62f5192

File tree

3 files changed

+30
-29
lines changed

3 files changed

+30
-29
lines changed

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
3+
name: Verify Build
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- main
12+
13+
env:
14+
GOPATH: /opt/go
15+
PATH: /opt/go/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
16+
GO_VER: 1.20.2
17+
18+
jobs:
19+
unit-tests:
20+
name: Unit Tests
21+
runs-on: ubuntu-20.04
22+
steps:
23+
- name: Install Go
24+
uses: actions/setup-go@v3
25+
with:
26+
go-version: ${{ env.GO_VER }}
27+
- name: Checkout Fabric-Lib-Go Code
28+
uses: actions/checkout@v3
29+
- name: Run Checks and Unit Tests
30+
run: make checks unit-tests GOTOOLS_BINDIR=${{ env.GOPATH }}/bin

ci.properties

Lines changed: 0 additions & 4 deletions
This file was deleted.

ci/azure-pipelines.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)