You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
majority-judgment-cli/.github/workflows/go.yml

38 lines
592 B

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Install UPX
run: apt install upx
- name: Go Get Govvv
run: go get github.com/ahmetb/govvv
- name: Go Get
run: go get
- name: Integration Tests
run: go test -v
- name: Build Linux
run: ./build.sh
- name: Test Build
run: ./mj example/example.csv --sort