2022-05-31 17:01:36 +02:00
|
|
|
name: build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Install Go
|
2023-05-23 20:50:20 +02:00
|
|
|
uses: actions/setup-go@v4
|
2022-05-31 17:01:36 +02:00
|
|
|
with:
|
2023-03-08 20:58:55 +01:00
|
|
|
go-version: '1.19.x'
|
2022-05-31 17:01:36 +02:00
|
|
|
-
|
|
|
|
name: Install node
|
2023-05-23 20:50:20 +02:00
|
|
|
uses: actions/setup-node@v3
|
2022-05-31 17:01:36 +02:00
|
|
|
with:
|
2023-03-07 04:25:05 +01:00
|
|
|
node-version: '18'
|
2023-05-23 20:50:20 +02:00
|
|
|
cache: 'npm'
|
|
|
|
cache-dependency-path: './web/package-lock.json'
|
2022-05-31 17:01:36 +02:00
|
|
|
-
|
|
|
|
name: Checkout code
|
2023-05-23 20:50:20 +02:00
|
|
|
uses: actions/checkout@v3
|
2022-05-31 17:01:36 +02:00
|
|
|
-
|
|
|
|
name: Install dependencies
|
|
|
|
run: make build-deps-ubuntu
|
|
|
|
-
|
|
|
|
name: Build all the things
|
|
|
|
run: make build
|
|
|
|
-
|
|
|
|
name: Print build results and checksums
|
|
|
|
run: make cli-build-results
|