2019-08-28 22:11:12 +02:00
|
|
|
name: main
|
|
|
|
on:
|
2023-01-18 20:42:27 +01:00
|
|
|
workflow_run:
|
|
|
|
workflows: ["main - test"]
|
|
|
|
types:
|
|
|
|
- completed
|
|
|
|
|
2022-04-17 01:56:39 +02:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2019-08-28 22:11:12 +02:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-01-18 20:42:27 +01:00
|
|
|
- name: Code checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
2019-08-28 22:11:12 +02:00
|
|
|
- name: Setup Go
|
2023-01-18 20:42:27 +01:00
|
|
|
uses: actions/setup-go@v3
|
2019-08-28 22:11:12 +02:00
|
|
|
with:
|
2023-01-11 03:42:02 +01:00
|
|
|
go-version: 1.19.5
|
2023-01-18 20:42:27 +01:00
|
|
|
check-latest: true
|
|
|
|
cache: true
|
|
|
|
|
2019-08-28 22:11:12 +02:00
|
|
|
- name: Build
|
|
|
|
run: |
|
2023-01-18 20:42:27 +01:00
|
|
|
make vmcluster-crossbuild
|