openfaas / golang-http-template

Golang templates for OpenFaaS using HTTP extensions
https://www.openfaas.com/
MIT License
106 stars 57 forks source link

Add a GitHub Action to do a test build for both templates #69

Open alexellis opened 2 years ago

alexellis commented 2 years ago

Add a GitHub Action to do a test build for both templates

Expected Behaviour

We should create a function with and without a Go template with both templates during CI and validate that they can build with docker or faas-cli build.

Current Behaviour

Manual testing

Possible Solution

Add a bash / contrib script to do this and a GitHub Action to run on push/pr.

Context

Backwards compatibility, preventing issues for users.

alexellis commented 2 years ago

/add label: good first issue, help wanted