2022-05-31 17:01:36 +02:00
|
|
|
name: build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-05-23 21:03:58 +02:00
|
|
|
-
|
|
|
|
name: Checkout code
|
|
|
|
uses: actions/checkout@v3
|
2022-05-31 17:01:36 +02:00
|
|
|
-
|
|
|
|
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-11-15 11:55:01 +01:00
|
|
|
go-version: '1.21.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-11-15 11:55:01 +01:00
|
|
|
node-version: '20'
|
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: 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
|