Files
iptv-proxy/.github/workflows/ci.yml
Pierre-Emmanuel Jacquier 68343979a4 fixup! Add ci/cd GH actions
Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>
2020-05-19 22:01:13 +02:00

19 lines
374 B
YAML

name: CI
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run golangci-lint
uses: actions-contrib/golangci-lint@v1
- name: Run tests and attempt building
run: |
export PATH=$(go env GOPATH)/bin:$PATH
go test -mod vendor -v -race ./...
go build -mod vendor