Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 789af8a

Browse files
committed
chore: Migrate from Travis to GitHub Actions
1 parent fc33d12 commit 789af8a

File tree

2 files changed

+36
-20
lines changed

2 files changed

+36
-20
lines changed

.github/workflows/check.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
on:
2+
[pull_request, push]
3+
4+
name: Check
5+
6+
jobs:
7+
dockerfile:
8+
name: Build Docker image from Dockerfile
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- run: |
13+
docker build -t img2lambda .
14+
15+
docker-make-target:
16+
name: Build Docker image from Makefile target
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v2
20+
- run: |
21+
make docker-build
22+
make docker-test
23+
24+
build-binaries:
25+
name: Build binaries and run integration test
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v2
29+
- uses: actions/setup-go@v2
30+
with:
31+
go-version: '1.13'
32+
- run: |
33+
make install-tools
34+
make
35+
make integration-test
36+
make stage-release-binaries

.travis.yml

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

0 commit comments

Comments
 (0)