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