2022-05-31 15:01:36 +00:00
|
|
|
name: build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-05-23 19:03:58 +00:00
|
|
|
-
|
|
|
|
name: Checkout code
|
|
|
|
uses: actions/checkout@v3
|
2022-05-31 15:01:36 +00:00
|
|
|
-
|
|
|
|
name: Install Go
|
2023-05-23 18:50:20 +00:00
|
|
|
uses: actions/setup-go@v4
|
2022-05-31 15:01:36 +00:00
|
|
|
with:
|
2023-03-08 19:58:55 +00:00
|
|
|
go-version: '1.19.x'
|
2022-05-31 15:01:36 +00:00
|
|
|
-
|
|
|
|
name: Install node
|
2023-05-23 18:50:20 +00:00
|
|
|
uses: actions/setup-node@v3
|
2022-05-31 15:01:36 +00:00
|
|
|
with:
|
2023-03-07 03:25:05 +00:00
|
|
|
node-version: '18'
|
2023-05-23 18:50:20 +00:00
|
|
|
cache: 'npm'
|
|
|
|
cache-dependency-path: './web/package-lock.json'
|
2022-05-31 15:01:36 +00: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
|