mirror of https://github.com/knative/func.git
22 lines
623 B
YAML
22 lines
623 B
YAML
name: Func Check Embedded FS
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
name: Func Check Embedded FS
|
|
strategy:
|
|
matrix:
|
|
os: ["ubuntu-latest"]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: knative/actions/setup-go@main
|
|
- name: Check embedded templates content
|
|
run: |
|
|
if ! make check-embedded-fs; then
|
|
echo "Content of templates directory and embedded FS (zz_filesystem_generated.go) doesn't match!"
|
|
echo "Consult https:.github.com/knative/func/blob/main/docs/CONTRIBUTING.md#templates ."
|
|
exit 1
|
|
fi
|