Skip to content

Commit be15f04

Browse files
authored
Merge pull request #280 from firecracker-microvm/github-actions
Use GitHub Actions
2 parents cd822c0 + e9b3a54 commit be15f04

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/go.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
11+
build:
12+
strategy:
13+
matrix:
14+
go: ['1.11', '1.12', '1.13', '1.14', '1.15']
15+
os: ['ubuntu-20.04']
16+
17+
name: ${{ matrix.os }} / Go ${{ matrix.go }}
18+
runs-on: ${{ matrix.os }}
19+
steps:
20+
- name: Set up Go 1.x
21+
uses: actions/setup-go@v2
22+
with:
23+
go-version: ${{ matrix.go }}
24+
25+
- name: Check out code into the Go module directory
26+
uses: actions/checkout@v2
27+
28+
- name: Build
29+
run: make build

0 commit comments

Comments
 (0)