name: Tests on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - name: Install golang uses: actions/setup-go@v2 with: go-version: '^1.13.1' # The Go version to download (if necessary) and use. - name: Run tests run: | make test