Bash scripts refactoring into Golang #13
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: vHive setup scripts build tests | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
workflow_dispatch: | |
env: | |
GOOS: linux | |
GO111MODULE: on | |
jobs: | |
build_setup: | |
name: Build setup scripts | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.19' | |
- name: Check out the code | |
uses: actions/checkout@v3 | |
- name: Build scripts | |
run: pushd scripts && go build -o setup_tool && popd | |
- name: Show scripts help info | |
run: ./scripts/setup_tool -h | |