Skip to content

Build

Build #114

Workflow file for this run

name: Build
on:
pull_request:
branches:
- master
types: [opened, synchronize]
paths-ignore:
- '**/*.md'
push:
# Build for the master branch.
branches:
- master
workflow_dispatch:
inputs:
ref:
description: 'Ref to build Bench, GoNode and SharpNode images [default: latest master; examples: 0a4ff9d3e4a9ab432fd5812eb18c98e03b5a7432]'
required: false
default: ''
jobs:
build_image:
name: Build Bench, GoNode and SharpNode docker images
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.ref }}
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: 'cmd/go.mod'
cache-dependency-path: cmd/go.sum
- name: Build
run: make build