Skip to content

Dev (#28)

Dev (#28) #39

Workflow file for this run

name: build
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go: [1.16, 1.23]
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: go build -o allhic -v cmd/main.go
- name: Unit testing
run: go test -v
- name: Functional testing
run: bash functional-tests.sh