Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Archive the service #114

Archive the service

Archive the service #114

Workflow file for this run

name: Build and push Docker image
on:
push:
branches:
- main
pull_request:
branches:
jobs:
build:
name: Lint, build and test
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "10"
- name: Lint TypeScript
run: |
cd webapp
npm ci
npx ng lint
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: "1.17"
- name: Lint Go
run: |
cd backend
if test $( gofmt -d . | tee gofmt.results | wc -l ) -ne 0; then cat gofmt.results; exit 1; fi
go get -u golang.org/x/lint/golint
golint -set_exit_status ./...
- name: Setup protobuf C compiler
uses: arduino/setup-protoc@v1
with:
version: "3.19"
- name: Build
run: make backend-build webapp-build
- name: Test
run: make backend-test