Skip to content

license: switch to mit #14

license: switch to mit

license: switch to mit #14

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v2
with:
go-version: 1.16
- 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: Test
env:
EUDIC_USERNAME: ${{ secrets.EUDIC_USERNAME }}
EUDIC_PASSWORD: ${{ secrets.EUDIC_PASSWORD }}
run: go test ./... --cover -v