Skip to content

Commit d9dd660

Browse files
author
Kazuyoshi Kato
committed
Enable GitHub Actions
This change enables GitHub Actions and build firectl on various Go versions. Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
1 parent 4323468 commit d9dd660

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/go.yml

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

0 commit comments

Comments
 (0)