support new go.mod (#378) #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e test | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the master branch | |
push: | |
paths-ignore: | |
- '**.md' | |
- '**.png' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- '**.png' | |
jobs: | |
job_1: | |
name: e2e test | |
strategy: | |
matrix: | |
os: [windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.16.x | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Go build | |
run: | | |
go build . | |
go install . | |
- name: Use goc to build self | |
run: | | |
.\goc.exe build -o gocc . | |
- name: run e2e test | |
run: | | |
go get github.com/onsi/ginkgo/ginkgo | |
ginkgo tests/e2e/... |