diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index d432914..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: CI - -on: [push, pull_request] - -jobs: - build: - name: Build - strategy: - matrix: - go-version: [~1.13, ~1.14] - os: [ubuntu-latest, macos-latest] - runs-on: ${{ matrix.os }} - env: - GO111MODULE: "on" - steps: - - name: Install Go - uses: actions/setup-go@v2 - with: - go-version: ${{ matrix.go-version }} - - - name: Cache-Go - uses: actions/cache@v1 - with: - path: | - ~/go/pkg/mod # Module download cache - ~/.cache/go-build # Build cache (Linux) - ~/Library/Caches/go-build # Build cache (Mac) - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - - name: Checkout code - uses: actions/checkout@v2 - - - name: Download Go modules - run: go mod download - - - name: Install Linux Dependencies - if: matrix.os == 'ubuntu-latest' - run: | - sudo apt-get install -y xdg-utils - - - name: Run Makefile - id: makefile - run: | - make demo1 - make demo2 - make demo3 - make demo4 - make demo5 - continue-on-error: true - - - name: Check on failures - if: steps.makefile.outputs.status == 'failure' - run: exit 1 \ No newline at end of file