*: add external flag for testing external networks #103
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |