mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 16:06:47 +00:00
Add build github actions workflow
Signed-off-by: Akos Veres <veres@akos.me>
This commit is contained in:
parent
8f022cfb21
commit
6f76a05bdf
35
.github/workflows/build.yaml
vendored
Normal file
35
.github/workflows/build.yaml
vendored
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
name: build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
env:
|
||||||
|
GO111MODULE: off
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
go-version: [1.13.x]
|
||||||
|
os: [ubuntu-latest]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
- name: Install Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: ${{ matrix.go-version }}
|
||||||
|
- name: test
|
||||||
|
run: make test
|
||||||
|
- name: dist
|
||||||
|
run: make dist
|
||||||
|
- name: prepare-test
|
||||||
|
run: make prepare-test
|
||||||
|
- name: test e2e
|
||||||
|
run: make test-e2e
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user